From: charleswrayjr Date: Thu, 4 Sep 2025 09:48:55 +0000 (-0500) Subject: Fixing ssh connection. X-Git-Url: https://git.phasecustomsoft.com/?a=commitdiff_plain;h=4b60e0f2de3074f2c5dc1218ee757811f9898d41;p=phs-stack.git Fixing ssh connection. --- diff --git a/images/phs-api/Dockerfile b/images/phs-api/Dockerfile index 7857d7b..2d15916 100644 --- a/images/phs-api/Dockerfile +++ b/images/phs-api/Dockerfile @@ -3,10 +3,13 @@ WORKDIR /usr/src/app RUN groupmod -g 1001 node && usermod -u 1001 -g 1001 node RUN npm install nodemon -g RUN npm install -g ts-node -RUN apt update && apt install -y vim mlocate && rm -r /var/lib/apt/lists/* +RUN apt update && apt install -y vim mlocate openssh-client && rm -r /var/lib/apt/lists/* USER node RUN mkdir /home/node/.pm2 +RUN mkdir -p /root/.ssh +COPY /home/git/.ssh/git-ui /root/.ssh/git-ui +RUN chmod 600 /root/.ssh/git-ui RUN npx pm2 install pm2-logrotate RUN npx pm2 set pm2-logrotate:max_size 500M \ No newline at end of file