Skip to content

Commit dfa1a44

Browse files
committed
feat: copy public directory from builder stage to final image
1 parent b910e7d commit dfa1a44

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ RUN pnpm install --prod --frozen-lockfile
4040

4141
# Copy build output and public directory
4242
COPY --from=builder /usr/src/app/dist ./dist
43+
COPY --from=builder /usr/src/app/public ./public
4344

4445
# Ensure the app files are owned by the node user
4546
RUN chown -R node:node /usr/src/app

0 commit comments

Comments
 (0)