generated from hantim/static-site-template
13 lines
211 B
Docker
13 lines
211 B
Docker
FROM nginx:alpine
|
|
|
|
# Remove default content
|
|
RUN rm -rf /usr/share/nginx/html/*
|
|
|
|
# static site
|
|
COPY static /usr/share/nginx/html
|
|
|
|
# a custom nginx config
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
EXPOSE 80
|