1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-12-08 00:44:30 +01:00

chore: remove build error with Docker copy wrong node_modules

This commit is contained in:
Théo LUDWIG 2023-07-30 18:27:15 +02:00
parent f42fdbfd0c
commit 70603f1444
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -6,7 +6,6 @@ RUN npm clean-install
FROM node:20.5.0 AS builder FROM node:20.5.0 AS builder
WORKDIR /usr/src/application WORKDIR /usr/src/application
COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules
COPY --from=builder-dependencies /usr/src/application/curriculum-vitae/node_modules ./curriculum-vitae/node_modules
COPY ./ ./ COPY ./ ./
RUN npm run build RUN npm run build