Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

trippledubs's scratchpad

by trippledubs (Deacon)
on Jul 04, 2012 at 15:21 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2022-06-29 18:14 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (97 votes). Check out past polls.