build(docker): declare EXPOSE

This commit is contained in:
kunish 2023-09-01 17:46:49 +08:00
parent 378da096b0
commit 5f1319f308
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -11,6 +11,8 @@ RUN pnpm build
FROM docker.io/caddy:alpine FROM docker.io/caddy:alpine
EXPOSE 80
WORKDIR /srv WORKDIR /srv
COPY --from=builder /build/dist/. . COPY --from=builder /build/dist/. .