Skip to content

Commit f26e56f

Browse files
committed
fix: fix Dockerfile did not copy public into the image by adding COPY public ./public/
1 parent 2d230fc commit f26e56f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ COPY --from=builder /app/node_modules ./node_modules
3737
COPY --from=builder /app/dist ./dist
3838
COPY --from=builder /app/drizzle ./drizzle
3939
COPY --from=builder /app/drizzle.config.ts ./
40+
# Landing page at GET / (public/index.html)
41+
COPY public ./public/
4042

4143
# Non-root user for security
4244
RUN addgroup -g 1001 -S app && adduser -u 1001 -S app -G app

0 commit comments

Comments
 (0)