*alexandre* has asked for the wisdom of the Perl Monks concerning the following question:
but not sure if I've to set : ADD . /app WORKDIR /app instead of cgi-bin thx# Use the latest perl image from dockerhub FROM perl:latest # Install the web framework mojolicious RUN curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org - +n Mojolicious # Instruct mojolicious to listen on port 8080 and open the port ENV MOJO_LISTEN http://*:8080 EXPOSE 8080 # add your application code and set the working directory ADD . /app WORKDIR /app # change the permissions and run the application RUN chmod +x main.pl RUN chmod +x script.pl CMD ["./main.pl", "daemon"]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Google App Engine and CGI
by Corion (Patriarch) on Jul 31, 2019 at 14:39 UTC | |
Re: Google App Engine and CGI
by Anonymous Monk on Jul 31, 2019 at 17:05 UTC | |
by *alexandre* (Scribe) on Jul 31, 2019 at 20:44 UTC | |
by Corion (Patriarch) on Aug 01, 2019 at 07:09 UTC | |
by *alexandre* (Scribe) on Aug 03, 2019 at 14:01 UTC | |
by Corion (Patriarch) on Aug 04, 2019 at 15:55 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |