chore: Update Dockerfile to use latest Node.js version, install pm2 globally, and fix npm install command
Build and Push Docker Images / build-and-push (push) Successful in 1m42s

This commit is contained in:
2024-08-15 14:45:39 +02:00
parent 1a835cc99c
commit 90075f2a1a
2 changed files with 1029 additions and 1 deletions
+6 -1
View File
@@ -8,7 +8,7 @@ WORKDIR /workspace
RUN npm install -g pm2 RUN npm install -g pm2
# Install git, openssh-client, and openssh-server # Install git, openssh-client, and openssh-server
RUN apt-get update && apt-get install -y git openssh-client software-properties-common sudo RUN apt-get update && apt-get install -y git openssh-client software-properties-common sudo
# RUN apt-get install -y fish # RUN apt-get install -y fish
RUN git clone https://gitea.bramkelchtermans.be/Bram/linux-presets.git && cd linux-presets && chmod +x setup.sh && ./setup.sh --terminal-icon  RUN git clone https://gitea.bramkelchtermans.be/Bram/linux-presets.git && cd linux-presets && chmod +x setup.sh && ./setup.sh --terminal-icon 
@@ -24,6 +24,11 @@ RUN usermod -aG sudo root
# Create a directory for the SSH keys # Create a directory for the SSH keys
RUN mkdir -p /root/.ssh RUN mkdir -p /root/.ssh
COPY install-node.sh /workspace/install-node.sh
RUN chmod +x /workspace/install-node.sh
RUN /workspace/install-node.sh
RUN rm /workspace/install-node.sh
# Copy the entrypoint script into the container # Copy the entrypoint script into the container
COPY entrypoint.sh /usr/local/bin/entrypoint.sh COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh RUN chmod +x /usr/local/bin/entrypoint.sh
File diff suppressed because it is too large Load Diff