Hexo-Async-Offends/Dockerfile-hexo
offends 5db38f1a94
Some checks reported errors
continuous-integration/drone Build was killed
synchronization
2024-07-19 15:47:50 +08:00

17 lines
264 B
Plaintext

ARG IMAGENAME=node:alpine
FROM ${IMAGENAME}
LABEL maintainer="Offends <offends4@163.com>"
RUN npm install -g hexo-cli \
&& hexo init hexo \
&& npm install --prefix /hexo/
WORKDIR /hexo
EXPOSE 4000
# CMD ["npm", "run", "server]
CMD ["hexo", "server"]