wethepeople.win/Dockerfile

9 lines
210 B
Docker
Raw Normal View History

2021-01-23 00:51:51 -05:00
FROM perl:5.22
RUN cpanm Mojolicious
WORKDIR /opt
COPY public/ ./public/
COPY templates/ ./templates/
COPY wethepeople.pl .
2021-01-23 19:51:11 -05:00
ENV MOJO_REVERSE_PROXY=1
2021-01-23 00:51:51 -05:00
CMD ["perl", "wethepeople.pl", "daemon", "-m", "production"]