Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pitiscarf committed Nov 13, 2024
1 parent 71a4385 commit 2521183
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ ENV RELEASE=${RELEASE}

RUN pm2 install --docker pm2-slack
RUN --mount=type=secret,id=PM2_SLACK_URL \
PM2_SLACK_URL=$(cat /run/secrets/PM2_SLACK_URL) \
pm2 set "pm2-slack:slack_url" "${PM2_SLACK_URL}"
RUN pm2 set "pm2-slack:servername" "PM2-ERROR-API"
RUN pm2 set "pm2-slack:error" "false"
pm2 --silent set "pm2-slack:slack_url" "$(cat /run/secrets/PM2_SLACK_URL)"
RUN pm2 --silent set "pm2-slack:servername" "PM2-ERROR-API"
RUN pm2 --silent set "pm2-slack:error" "false"

EXPOSE 8080

Expand Down

0 comments on commit 2521183

Please sign in to comment.