Skip to content

Commit

Permalink
upd dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tubleronchik committed May 6, 2024
1 parent 1c7024a commit 14668e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:18-alpine
WORKDIR /home/node/proxy
WORKDIR /proxy
RUN chown -R node:node /proxy
RUN chmod -R 777 /proxy
COPY . .
RUN touch /proxy/peerIdJson.json
RUN npm ci --only=production
Expand All @@ -8,3 +10,4 @@ ENV PORT=${PORT}
EXPOSE ${PORT}
CMD ["node", "src/index.js"]
EXPOSE 9999
USER node

0 comments on commit 14668e6

Please sign in to comment.