16 lines
375 B
Docker
16 lines
375 B
Docker
FROM nginx:alpine
|
|
|
|
ENV NGINX_DIR=/etc/nginx
|
|
|
|
COPY setup/index.html /usr/share/nginx/html/index.html
|
|
|
|
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
|
|
|
|
EXPOSE 80
|