Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Commit 50b8241

Browse files
committed
fix: .dockerignore & Dockerfile
1 parent 20aed7e commit 50b8241

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
node_modules
22
.github
33
dist
4-
src
54
.env*
65
*.log
76
.git

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ RUN pnpm build-storybook
1313
# Use official Nginx image as base
1414
FROM nginx:alpine
1515

16-
# Copy Storybook static files into Nginx's default public directory
17-
COPY storybook-static/ /usr/share/nginx/html
16+
# Copy Storybook static files from the build stage
17+
COPY --from=0 /app/storybook-static/ /usr/share/nginx/html
1818

1919
# Expose port 80 (Nginx default)
2020
EXPOSE 80

0 commit comments

Comments
 (0)