Skip to content
Snippets Groups Projects
Commit 6ef957d1 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Pridan Dockerfile

parent 3ea2cba8
No related branches found
No related tags found
No related merge requests found
FROM alpine:3.10
COPY cpanfile /
ENV EV_EXTRA_DEFS -DEV_NO_ATFORK
RUN apk update && \
apk add perl perl-io-socket-ssl perl-dev perl-json perl-yaml wget curl make && \
curl -L https://cpanmin.us | perl - App::cpanminus && \
cpanm --installdeps . -M https://cpan.metacpan.org && \
apk del perl-dev g++ make wget curl && \
rm -rf /root/.cpanm/* /usr/local/share/man/* /cpanfile
ADD . /opt/rvvote
EXPOSE 3000
WORKDIR /opt/rvvote
CMD ./script/rvvote daemon
requires "Mojolicious";
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment