Skip to content

Commit

Permalink
Merge pull request #216 from bnb-chain/wenty/api
Browse files Browse the repository at this point in the history
chore: Update dockerfile
  • Loading branch information
wenty22 authored Dec 24, 2024
2 parents 320933b + 8b2f3c3 commit ad8aa32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/canonical-bridge-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ FROM node:20-buster

WORKDIR /opt/deploy

RUN useradd -u 9000 appuser
USER appuser

COPY . .
RUN node common/scripts/install-run-rush.js install -t canonical-bridge-server
RUN node common/scripts/install-run-rush.js build -t canonical-bridge-server
Expand All @@ -18,4 +15,7 @@ EXPOSE 3000

ENV NODE_ENV production

RUN useradd -u 9000 appuser
USER appuser

CMD ["yarn", "start"]

0 comments on commit ad8aa32

Please sign in to comment.