FROM alpine:3.15 RUN apk update && apk upgrade && apk add --no-cache wget git npm RUN adduser -S nginx && addgroup -S nginx COPY academia_config.yml /tmp/academia_config.yml COPY hexo_config.yml /tmp/hexo_config.yml COPY narnaud.jpg /tmp/narnaud.jpg COPY README.md /tmp/README.md WORKDIR /var/www/html COPY start.sh /tmp/start.sh RUN npm install -g hexo CMD [ "sh", "/tmp/start.sh" ]