From 5234c1571e818f6825a949b58f2dcb7bc7106b4b Mon Sep 17 00:00:00 2001 From: Benjamin Bours Date: Sun, 8 Oct 2023 15:57:54 +0100 Subject: [PATCH] Update docker files --- back/Dockerfile.back | 2 +- front/Dockerfile.front | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/back/Dockerfile.back b/back/Dockerfile.back index 917770db..1c4c778e 100644 --- a/back/Dockerfile.back +++ b/back/Dockerfile.back @@ -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 diff --git a/front/Dockerfile.front b/front/Dockerfile.front index 15dc4123..82dc8314 100644 --- a/front/Dockerfile.front +++ b/front/Dockerfile.front @@ -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 ./