sakisafe/http/Dockerfile
Rawley 1d53129435
Add Dockerfile (#22)
* added perl makefile

* fixup gitignore and eval

* add docker file
2023-03-14 13:14:48 +01:00

15 lines
319 B
Docker

FROM perl:latest AS build
EXPOSE 3000
COPY . /sakisafe
COPY ./public /sakisafe/public
WORKDIR /sakisafe
RUN perl "Makefile.PL"
RUN make install
RUN cpan List::MoreUtils Path::Tiny MIME::Types Mojolicious Mojolicious::Plugin::RenderFile Mojolicious::Routes::Pattern
FROM build
CMD ["perl", "sakisafe.pl", "daemon"]