16 lines
273 B
Docker
16 lines
273 B
Docker
FROM nginx:alpine-slim
|
|
|
|
# Delete default nginx files
|
|
RUN rm -rf /usr/share/nginx/html/*
|
|
|
|
# Copy all files
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY domains.txt /usr/share/nginx/html/
|
|
|
|
# Expose port
|
|
EXPOSE 80
|
|
|
|
# Boot
|
|
ENTRYPOINT ["nginx"]
|
|
CMD ["-g", "daemon off;"]
|