Skip to content

Commit

Permalink
Update docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminbours committed Oct 8, 2023
1 parent 73a0e5c commit 5234c15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion back/Dockerfile.back
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ WORKDIR /app
COPY --from=build-staging /app/back/dist ./dist
COPY --from=build-staging /app/back/prisma ./prisma
COPY --from=build-staging /app/back/package*.json ./
COPY --from=build-staging /app/back/.npmrc ./
COPY --from=build-staging /app/.npmrc ./
RUN npm i --omit=dev
RUN npx prisma generate

Expand Down
2 changes: 1 addition & 1 deletion front/Dockerfile.front
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN adduser --system --uid 1001 nextjs

COPY --from=build-staging /app/front/public ./public
COPY --from=build-staging /app/front/package*.json ./
COPY --from=build-staging /app/front/.npmrc ./
COPY --from=build-staging /app/.npmrc ./
COPY --from=build-staging --chown=nextjs:nodejs /app/front/.next ./.next
COPY --from=build-staging --chown=nextjs:nodejs /app/front/next.config.js ./

Expand Down

0 comments on commit 5234c15

Please sign in to comment.