Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tiennm99 committed Nov 30, 2024
1 parent d9501e7 commit fa21952
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM ghcr.io/gohugoio/hugo:v0.135.0 AS builder
WORKDIR /app
COPY . .
ARG BASE_URL
RUN hugo --gc --minify --cleanDestinationDir -b "${BASE_URL}"
RUN hugo --gc --minify

FROM nginx:alpine AS runner
COPY --from=builder /app/public /usr/share/nginx/html
Expand Down

0 comments on commit fa21952

Please sign in to comment.