chore: Update Dockerfile to remove unnecessary SSH server configuration

This commit is contained in:
2024-07-06 20:26:56 +02:00
parent 50e9c8c76b
commit 282d6b27f6
2 changed files with 4 additions and 4 deletions
-4
View File
@@ -13,10 +13,6 @@ RUN apt-get update && apt-get install -y git openssh-client software-properties-
RUN usermod -aG sudo root
RUN git clone https://gitea.bramkelchtermans.be/Bram/linux-presets.git && cd linux-presets && chmod +x setup.sh && ./setup.sh --terminal-icon 
RUN rm -r linux-presets
# SHELL [ "fish", "--command" ]
# RUN chsh -s /usr/bin/fish
# ENV SHELL /usr/bin/fish
+4
View File
@@ -1,6 +1,9 @@
#!/bin/bash
set -e
git clone https://gitea.bramkelchtermans.be/Bram/linux-presets.git && cd linux-presets && chmod +x setup.sh && ./setup.sh --terminal-icon 
rm -r linux-presets/
# Check if the required environment variables are set
if [ -z "$REPO_URL" ]; then
echo "Error: REPO_URL environment variable must be set."
@@ -51,5 +54,6 @@ else
exit 1
fi
nohup teleport start &
# Start the application with pm2
exec pm2-runtime "yarn start:dev"