You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
309 B
12 lines
309 B
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
|
|
|
|
WORKDIR /var/www/html
|
|
|
|
COPY init.sh /tmp/init.sh
|
|
ENTRYPOINT [ "sh", "/tmp/init.sh" ]
|
|
|