Projet 42: Sujet: Conteneuriser un serveur wordpress à l'aide de docker, alpine/debian, nginx et mariadb
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.
 
 
 

13 lines
345 B

FROM alpine:3.15
RUN apk update && apk upgrade && apk add --no-cache wget git npm
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" ]