12 lines
209 B
Docker
12 lines
209 B
Docker
FROM nginx:alpine
|
|
|
|
# Remove default nginx config
|
|
RUN rm /etc/nginx/conf.d/default.conf
|
|
|
|
# Copy custom configuration
|
|
COPY ./conf/nginx.conf /etc/nginx/conf.d/
|
|
|
|
EXPOSE 80 443
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|