This repository has been archived on 2024-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
arimelody.me-static/Dockerfile

16 lines
299 B
Docker

FROM nginx:stable-alpine3.17
# set working directory
WORKDIR /web/arimelody/
# copy nginx config
COPY nginx.conf /etc/nginx/conf.d/default.conf
# copy static files
COPY public /web/arimelody
EXPOSE 80
# start nginx in the foreground so logs appear in docker
CMD ["nginx", "-g", "daemon off;"];