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
Raw Permalink Normal View History

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