local-nginx-tutorial/eg3/proxy/Dockerfile

9 lines
177 B
Docker
Raw Normal View History

FROM nginx:stable-alpine
2023-05-04 23:45:36 +10:00
COPY default.conf /etc/nginx/conf.d
EXPOSE 80/tcp
EXPOSE 443/tcp
CMD [ "/bin/sh", "-c", "exec nginx -g 'daemon off;';"]
WORKDIR /usr/share/nginx/html