Fix: Permissions Docker #54

Merged
Anri merged 2 commits from fix/docker-db-folder into main 2023-01-17 13:21:54 +01:00
Showing only changes of commit 903f3cb508 - Show all commits

View file

@ -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"]