start develop a dockerfile

master
GouveaHeitor 2019-12-28 12:27:52 -03:00
parent 69e8a333fc
commit 720cf3451d
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,5 @@
# Contributing to the Nipe!
## License
By opening a pull request in this repository, you agree to provide your work under the [project license](../LICENSE.md).

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM perl:5.20
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
CMD [ "perl", "./your-daemon-or-script.pl" ]
RUN sudo curl -L https://cpanmin.us | perl - --sudo App::cpanminus
RUN cpanm Switch Switch IO::Socket::SSL LWP::UserAgent LWP::Protocol::https HTTP::Request LWP::Protocol::https JSON Config::Simple WWW::Mechanize Mojolicious::Lite re::engine::TRE