Skip to content

Commit

Permalink
dont copy everything
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy authored Jan 23, 2024
1 parent 2aacd8f commit 542c044
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
FROM node:12-alpine
FROM node:14-alpine
RUN adduser -S nop-guide
USER nop-guide
RUN mkdir /home/nop-guide/nop-guide
WORKDIR /home/nop-guide/nop-guide
COPY --chown=nop-guide:root . .

# from dev/build/Dockerfile
COPY --chown=nop-guide:root ./assets ./assets
COPY --chown=nop-guide:root ./node_modules ./node_modules
COPY --chown=nop-guide:root ./server ./server
COPY --chown=nop-guide:root ./package.json ./package.json
COPY --chown=nop-guide:root ./LICENSE ./LICENSE

RUN mv config.sample.yml config.yml

0 comments on commit 542c044

Please sign in to comment.