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
324 B
Docker
Raw Normal View History

2023-10-02 05:30:54 +00:00
FROM nginx:stable-alpine3.17
# set working directory
WORKDIR /usr/share/nginx/arimelody/
# copy nginx config
COPY nginx.conf /etc/nginx/conf.d/default.conf
# copy static files
COPY public /usr/share/nginx/arimelody
EXPOSE 443
# start nginx in the foreground so logs appear in docker
CMD ["nginx", "-g", "daemon off;"];