10 lines
224 B
Docker
10 lines
224 B
Docker
FROM nginx:1.21.1-alpine
|
|
COPY ./.nginx/nginx.conf /etc/nginx/nginx.conf
|
|
|
|
## Remove default nginx index page
|
|
RUN rm -rf /usr/share/nginx/html/*
|
|
|
|
COPY ./build /usr/share/nginx/html
|
|
EXPOSE 80
|
|
CMD ["nginx", "-g", "daemon off;"]
|