10 lines
311 B
Docker
10 lines
311 B
Docker
#FROM nginx
|
|
#COPY static-html-directory /usr/share/nginx/html
|
|
FROM nginx:stable-alpine
|
|
|
|
# Copy static site (optional, if you want to serve anything at / directly)
|
|
COPY static-html-directory /usr/share/nginx/html
|
|
|
|
# Replace all default confs with ours
|
|
COPY nginx-conf/default.conf /etc/nginx/conf.d/default.conf
|