chore: Update Dockerfile to remove unnecessary SSH server configuration
This commit is contained in:
@@ -13,10 +13,6 @@ RUN apt-get update && apt-get install -y git openssh-client software-properties-
|
|||||||
|
|
||||||
RUN usermod -aG sudo root
|
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" ]
|
# SHELL [ "fish", "--command" ]
|
||||||
# RUN chsh -s /usr/bin/fish
|
# RUN chsh -s /usr/bin/fish
|
||||||
# ENV SHELL /usr/bin/fish
|
# ENV SHELL /usr/bin/fish
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
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
|
# Check if the required environment variables are set
|
||||||
if [ -z "$REPO_URL" ]; then
|
if [ -z "$REPO_URL" ]; then
|
||||||
echo "Error: REPO_URL environment variable must be set."
|
echo "Error: REPO_URL environment variable must be set."
|
||||||
@@ -51,5 +54,6 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
nohup teleport start &
|
||||||
# Start the application with pm2
|
# Start the application with pm2
|
||||||
exec pm2-runtime "yarn start:dev"
|
exec pm2-runtime "yarn start:dev"
|
||||||
|
|||||||
Reference in New Issue
Block a user