Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

trippledubs's scratchpad

by trippledubs (Deacon)
on Jul 04, 2012 at 15:21 UTC ( [id://979878]=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    mkdir build
    cd build
    
    # Requires mojolicious, you can git clone here also
    mojo generate app myapp
    
  2. or download this
    # cpanfile
    requires 'Mojolicious';
    # and so on
    
  3. or download this
    # dockerfile
    FROM alpine:latest
    ...
    ENV PERL5LIB=/usr/src/myapp/local/lib/perl5/
    CMD [ "script/myapp","daemon","-m","production","-l","http://*:8080" ]
    
  4. or download this
    # Now to build the image
    $ docker build -t myapp-container .
    
  5. or download this
    # Run the container with host's port 8081 
    # mapped to container's port 8080 using the cmd from dockerfile.
    ...
    
    # Save the container
    $ docker save myapp-container > myapp-container.tar
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-03-29 13:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found