Skip to content

Commit b5c3ac0

Browse files
committed
Change Dockerfile for standalone
1 parent 4553a58 commit b5c3ac0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ RUN rm -f bunfig.toml
4545
FROM base
4646

4747
# Copy built application
48-
COPY --from=build /app /app
48+
COPY --from=build /app/.next/standalone /app
49+
COPY --from=build /app/.next/static /app/.next/static
50+
COPY --from=build /app/public /app/public
4951

5052
# Start the server by default, this can be overwritten at runtime
5153
EXPOSE 3000

0 commit comments

Comments
 (0)