mirror of
https://github.com/chillzhuang/Saber.git
synced 2024-11-14 14:39:33 +08:00
12 lines
247 B
Docker
12 lines
247 B
Docker
FROM nginx:stable-alpine-perl
|
|
|
|
RUN rm -f /etc/nginx/nginx.conf \
|
|
&& rm -f /etc/nginx/conf.d/default.conf
|
|
COPY docker/nginx.k8s.conf /etc/nginx/nginx.conf
|
|
|
|
EXPOSE 80
|
|
|
|
COPY ./dist /usr/share/nginx/html
|
|
|
|
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|