Skip to content

Commit

Permalink
更新dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyun8023 committed Jul 28, 2024
1 parent a2ba6c2 commit a0a220d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY . ./
RUN go build -o /calibre-api

## Deploy
FROM alpine
FROM debian:bookworm-slim

ENV CALIBRE_TEMPLATE_DIR=/app/templates
ENV CALIBRE_STATIC_DIR=/app/static
Expand All @@ -22,4 +22,4 @@ COPY config.yaml ./
COPY pages/ ./
EXPOSE 8080

ENTRYPOINT ["/app/calibre-api"]
ENTRYPOINT ["bash","-c","/app/calibre-api"]

0 comments on commit a0a220d

Please sign in to comment.