Fix dockerfile
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
.git
|
||||||
|
.env
|
||||||
|
node_modules
|
||||||
|
backend/node_modules
|
||||||
|
frontend/node_modules
|
||||||
|
dist
|
||||||
|
backend/dist
|
||||||
|
frontend/dist
|
||||||
|
data
|
||||||
|
backend/data
|
||||||
|
coverage
|
||||||
|
playwright-report
|
||||||
|
test-results
|
||||||
|
*.log
|
||||||
@@ -21,8 +21,6 @@ COPY package.json package-lock.json ./
|
|||||||
COPY backend/package.json backend/package.json
|
COPY backend/package.json backend/package.json
|
||||||
COPY frontend/package.json frontend/package.json
|
COPY frontend/package.json frontend/package.json
|
||||||
COPY --from=build /app/node_modules node_modules
|
COPY --from=build /app/node_modules node_modules
|
||||||
COPY --from=build /app/backend/node_modules backend/node_modules
|
|
||||||
COPY --from=build /app/frontend/node_modules frontend/node_modules
|
|
||||||
RUN npm prune --omit=dev
|
RUN npm prune --omit=dev
|
||||||
|
|
||||||
COPY --from=build /app/backend/dist backend/dist
|
COPY --from=build /app/backend/dist backend/dist
|
||||||
|
|||||||
Reference in New Issue
Block a user