mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-14 06:17:29 +00:00
Update Dockerfile
This commit is contained in:
1 parent
f549a3a210
commit
a5cab02505
1 file changed
+2
-2
+2
-2
@@ -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;"]
|
||||
Reference in new issue
Block a user