✨ feat(): add hexo-base
add hexo-base Signed-off-by: ehlxr <ehlxr.me@gmail.com>
This commit is contained in:
14
blog/Dockerfile
Normal file
14
blog/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM ehlxr/hexo:latest
|
||||
# WORKDIR /hexo
|
||||
COPY . .
|
||||
|
||||
RUN hexo generate && gulp
|
||||
|
||||
# ENTRYPOINT [ "hexo", "server" ]
|
||||
# CMD [ "-p", "80" ]
|
||||
|
||||
FROM nginx:alpine
|
||||
LABEL maintainer="ehlxr.me@gmail.com"
|
||||
WORKDIR /usr/share/nginx/html
|
||||
COPY --from=0 /hexo/public .
|
||||
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|
Reference in New Issue
Block a user