Skip to content

Commit be051de

Browse files
committed
fix permission on copied source + docker ignore
1 parent 8d35470 commit be051de

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.git/
2+
.docker*
3+
.git*

Dockerfile.dist

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
FROM kooldev/puppeteer:latest
22

33
WORKDIR /app
4-
ADD . /app
4+
COPY --chown=pptruser:pptruser . /app
55

66
ENV NODE_ENV=production
7+
78
RUN yarn install
89

910
CMD ["yarn", "start"]

0 commit comments

Comments
 (0)