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
Build and Push Docker Images / build-and-push (push) Successful in 1m42s
This commit is contained in:
@@ -8,7 +8,7 @@ WORKDIR /workspace
|
||||
RUN npm install -g pm2
|
||||
|
||||
# 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 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
|
||||
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 entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user