Fix: Permissions Docker #54
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,6 @@ RUN chown node:node /config
|
|||
|
||||
RUN apk add dumb-init
|
||||
ENV NODE_ENV=production
|
||||
USER node
|
||||
WORKDIR /app
|
||||
|
||||
COPY --chown=node:node . .
|
||||
|
@ -19,4 +18,5 @@ RUN npx tsc
|
|||
RUN rm -r src/ tsconfig.json
|
||||
RUN npm uninstall typescript @types/sqlite3
|
||||
|
||||
USER node
|
||||
CMD ["dumb-init", "node", "./dist/index.js"]
|
||||
|
|
Loading…
Reference in a new issue