FROM nginx:stable-alpine ENV NGINX_DIR=/etc/nginx RUN mkdir -p ${NGINX_DIR}/sites-available RUN mkdir -p ${NGINX_DIR}/sites-enabled COPY setup/index.html /usr/share/nginx/html/index.html COPY setup/sites-available/* ${NGINX_DIR}/sites-available RUN ln -s ${NGINX_DIR}/sites-available/ckan.conf ${NGINX_DIR}/sites-enabled/ckan.conf EXPOSE 81