Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ije committed Feb 28, 2024
1 parent a040600 commit 7b1f2bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ RUN npm i -g pnpm

COPY --from=build-stage /tmp/esm.sh/esmd /bin/esmd
RUN setcap cap_net_bind_service=ep /bin/esmd
RUN chown docker:docker /bin/esmd
RUN chown node:node /bin/esmd

USER docker
USER node
WORKDIR /
EXPOSE 8080
CMD ["esmd"]

0 comments on commit 7b1f2bb

Please sign in to comment.