Fix : Dockerfile workdir
This commit is contained in:
@@ -7,6 +7,7 @@ RUN npx nest build
|
|||||||
|
|
||||||
# étape de production
|
# étape de production
|
||||||
FROM node:lts-alpine AS production-stage
|
FROM node:lts-alpine AS production-stage
|
||||||
|
WORKDIR /app
|
||||||
COPY --from=build-stage /app/dist/ /app
|
COPY --from=build-stage /app/dist/ /app
|
||||||
COPY --from=build-stage /app/node_modules/ /app/node_modules
|
COPY --from=build-stage /app/node_modules/ /app/node_modules
|
||||||
EXPOSE 8765
|
EXPOSE 8765
|
||||||
|
|||||||
Reference in New Issue
Block a user