Loading .dockerignore 0 → 100644 +6 −0 Original line number Diff line number Diff line Dockerfile .dockerignore examples/ .gitignore README.md travelynx.conf .gitignore +61 −0 Original line number Diff line number Diff line /travelynx.conf # Created by https://www.gitignore.io/api/vim,perl # Edit at https://www.gitignore.io/?templates=vim,perl ### Perl ### !Build/ .last_cover_stats /META.yml /META.json /MYMETA.* *.o *.pm.tdy *.bs # Devel::Cover cover_db/ # Devel::NYTProf nytprof.out # Dizt::Zilla /.build/ # Module::Build _build/ Build Build.bat # Module::Install inc/ # ExtUtils::MakeMaker /blib/ /_eumm/ /*.gz /Makefile /Makefile.old /MANIFEST.bak /pm_to_blib /*.zip ### Vim ### # Swap [._]*.s[a-v][a-z] [._]*.sw[a-p] [._]s[a-rt-v][a-z] [._]ss[a-gi-z] [._]sw[a-p] # Session Session.vim # Temporary .netrwhist *~ # Auto-generated tag files tags # Persistent undo [._]*.un~ # End of https://www.gitignore.io/api/vim,perl Dockerfile 0 → 100644 +30 −0 Original line number Diff line number Diff line FROM debian:stretch RUN apt-get update && apt-get install -y \ cpanminus \ build-essential \ libpq-dev \ git \ ssmtp RUN cpanm -in \ Cache::File \ Crypt::Eksblowfish \ DateTime \ DateTime::Format::Strptime \ DBI \ DBD::Pg \ Email::Sender \ Geo::Distance \ Geo::Distance::XS \ Mojolicious \ Mojolicious::Plugin::Authentication \ Travel::Status::DE::IRIS \ UUID::Tiny \ JSON COPY . /app WORKDIR /app CMD /app/docker-run.sh No newline at end of file docker-run.sh 0 → 100755 +12 −0 Original line number Diff line number Diff line #!/bin/sh set -eu if [ ! -f travelynx.conf ] then echo "The configuration file is missing" exit 1 fi perl index.pl database migrate exec /usr/local/bin/hypnotoad -f index.pl No newline at end of file Loading
.dockerignore 0 → 100644 +6 −0 Original line number Diff line number Diff line Dockerfile .dockerignore examples/ .gitignore README.md travelynx.conf
.gitignore +61 −0 Original line number Diff line number Diff line /travelynx.conf # Created by https://www.gitignore.io/api/vim,perl # Edit at https://www.gitignore.io/?templates=vim,perl ### Perl ### !Build/ .last_cover_stats /META.yml /META.json /MYMETA.* *.o *.pm.tdy *.bs # Devel::Cover cover_db/ # Devel::NYTProf nytprof.out # Dizt::Zilla /.build/ # Module::Build _build/ Build Build.bat # Module::Install inc/ # ExtUtils::MakeMaker /blib/ /_eumm/ /*.gz /Makefile /Makefile.old /MANIFEST.bak /pm_to_blib /*.zip ### Vim ### # Swap [._]*.s[a-v][a-z] [._]*.sw[a-p] [._]s[a-rt-v][a-z] [._]ss[a-gi-z] [._]sw[a-p] # Session Session.vim # Temporary .netrwhist *~ # Auto-generated tag files tags # Persistent undo [._]*.un~ # End of https://www.gitignore.io/api/vim,perl
Dockerfile 0 → 100644 +30 −0 Original line number Diff line number Diff line FROM debian:stretch RUN apt-get update && apt-get install -y \ cpanminus \ build-essential \ libpq-dev \ git \ ssmtp RUN cpanm -in \ Cache::File \ Crypt::Eksblowfish \ DateTime \ DateTime::Format::Strptime \ DBI \ DBD::Pg \ Email::Sender \ Geo::Distance \ Geo::Distance::XS \ Mojolicious \ Mojolicious::Plugin::Authentication \ Travel::Status::DE::IRIS \ UUID::Tiny \ JSON COPY . /app WORKDIR /app CMD /app/docker-run.sh No newline at end of file
docker-run.sh 0 → 100755 +12 −0 Original line number Diff line number Diff line #!/bin/sh set -eu if [ ! -f travelynx.conf ] then echo "The configuration file is missing" exit 1 fi perl index.pl database migrate exec /usr/local/bin/hypnotoad -f index.pl No newline at end of file