Update Dockerfile

This commit is contained in:
tiennm99 committed 2024-09-14 18:12:34 +07:00
1 parent f549a3a210
commit a5cab02505
1 file changed
+2 -2
+2 -2
View File
@@ -7,12 +7,12 @@ WORKDIR /site
COPY . .
RUN hugo --minify
RUN hugo --gc --minify
FROM nginx:alpine
COPY --from=builder /site/public /usr/share/nginx/html
EXPOSE 80
EXPOSE 3000
CMD ["nginx", "-g", "daemon off;"]