Skip to content

Commit

Permalink
fix: correction des droits
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Sep 14, 2023
1 parent 5228179 commit d3de947
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ USER 1000
WORKDIR /app

COPY ./packages/backend/scripts/start /app/packages/backend/scripts/start
COPY --from=builder /app/node_modules /app/node_modules
COPY --from=builder /app/packages/common/node_modules /app/packages/common/node_modules
COPY --from=builder /app/packages/common/dist /app/packages/common/dist
COPY --from=builder /app/packages/common/package.json /app/packages/common/
COPY --from=builder /app/packages/backend/node_modules /app/packages/backend/node_modules
COPY --from=builder /app/packages/backend/dist /app/packages/backend/dist
COPY --from=builder /app/packages/backend/.env.preset /app/packages/backend/.env.preset
COPY --from=builder /app/packages/backend/package.json /app/packages/backend/
COPY --from=builder /app/packages/backend/src/excel/_templates /app/packages/backend/dist/excel/_templates/
COPY --from=builder /app/packages/backend/src/_static /app/packages/backend/dist/_static/
COPY --from=builder --chown=1000:1000 /app/node_modules /app/node_modules
COPY --from=builder --chown=1000:1000 /app/packages/common/node_modules /app/packages/common/node_modules
COPY --from=builder --chown=1000:1000 /app/packages/common/dist /app/packages/common/dist
COPY --from=builder --chown=1000:1000 /app/packages/common/package.json /app/packages/common/
COPY --from=builder --chown=1000:1000 /app/packages/backend/node_modules /app/packages/backend/node_modules
COPY --from=builder --chown=1000:1000 /app/packages/backend/dist /app/packages/backend/dist
COPY --from=builder --chown=1000:1000 /app/packages/backend/.env.preset /app/packages/backend/.env.preset
COPY --from=builder --chown=1000:1000 /app/packages/backend/package.json /app/packages/backend/
COPY --from=builder --chown=1000:1000 /app/packages/backend/src/excel/_templates /app/packages/backend/dist/excel/_templates/
COPY --from=builder --chown=1000:1000 /app/packages/backend/src/_static /app/packages/backend/dist/_static/

CMD ["packages/backend/scripts/start"]

0 comments on commit d3de947

Please sign in to comment.