all repos — shwarp.ca @ 779ee5b495de29ae62e46ff4e1ec884ce157ca71

Homepage repo

Dockerfile (view raw, download)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
FROM nginx:latest

WORKDIR /etc/nginx

COPY ./config/nginx.conf ./
COPY ./config/shwarp.ca ./
COPY ./config/pages.redirects /etc/nginx/conf.d/

RUN mkdir html

COPY ./static ./html/static
COPY ./stubs ./html/stubs
COPY ./pages ./html/pages

RUN nginx -t