docker-ckan/nginx/Dockerfile

16 lines
375 B
Docker
Raw Normal View History

2020-09-17 11:42:27 +02:00
FROM nginx:alpine
ENV NGINX_DIR=/etc/nginx
2021-12-09 14:44:35 +01:00
COPY setup/index.html /usr/share/nginx/html/index.html
2020-09-17 11:42:27 +02:00
RUN mkdir -p ${NGINX_DIR}/sites-available
RUN mkdir -p ${NGINX_DIR}/sites-enabled
COPY setup/nginx.conf ${NGINX_DIR}
COPY setup/sites-available/* ${NGINX_DIR}/sites-available
RUN ln -s ${NGINX_DIR}/sites-available/ckan.conf ${NGINX_DIR}/sites-enabled/ckan.conf
2021-12-09 14:41:16 +01:00
EXPOSE 80