mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-11-22 11:28:46 +08:00
14 lines
241 B
Docker
14 lines
241 B
Docker
FROM nginx:alpine
|
|
|
|
RUN mkdir -p /etc/nginx/locations
|
|
|
|
COPY --chown=nginx:nginx dist/ /usr/share/nginx/html/
|
|
COPY --chown=nginx:nginx nginx.conf /etc/nginx/nginx.conf
|
|
|
|
USER nginx
|
|
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT []
|
|
CMD ["nginx", "-g", "daemon off;"]
|