Skip to content

Commit 44a566e

Browse files
committed
Add git to Dockerfile.
1 parent 2e0e422 commit 44a566e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ WORKDIR /app
1717

1818
RUN npm install -g wrangler
1919

20-
COPY --from=builder /app/.output ./.output
20+
COPY --from=builder /app/dist ./dist
2121
COPY --from=builder /app/package.json ./
22+
COPY --from=builder /app/wrangler.jsonc ./
2223

2324
EXPOSE 3000
2425

25-
CMD ["wrangler", "pages", "dev", ".output/public", "--port", "3000"]
26+
WORKDIR /app/dist/server
27+
28+
CMD ["wrangler", "dev", "--port", "3000", "--ip", "0.0.0.0"]

0 commit comments

Comments
 (0)