Skip to content

Commit c6a395e

Browse files
committed
Fix missing dist directory in production Dockerfile
1 parent a8c84d4 commit c6a395e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/backend/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ RUN addgroup -S modos_backend && \
5454
USER modos_backend:modos_backend
5555

5656
COPY --chown=modos_backend:modos_backend --from=builder /usr/src/app/node_modules /usr/src/app/node_modules
57-
COPY --chown=modos_backend:modos_backend ./ /usr/src/app/
57+
COPY --chown=modos_backend:modos_backend --from=builder /usr/src/app/dist/ /usr/src/app/dist/
58+
COPY --chown=modos_backend:modos_backend openapi.json package.json package-lock.json /usr/src/app/
5859

5960
COPY --from=builder /usr/local/bin/tcpwait /usr/local/bin/tcpwait
6061

0 commit comments

Comments
 (0)