Getting things ready to deploy
This commit is contained in:
parent
2d30602907
commit
770cc23884
|
@ -25,4 +25,4 @@ ENV MOJO_REVERSE_PROXY=1
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
# Send it
|
# Send it
|
||||||
CMD ["perl", "guestbook-ng.pl", "prefork", "-m", "development"]
|
CMD ["perl", "guestbook-ng.pl", "prefork", "-m", "production"]
|
||||||
|
|
|
@ -7,7 +7,7 @@ use Mojolicious::Lite -signatures;
|
||||||
use Mojo::Pg;
|
use Mojo::Pg;
|
||||||
use List::Util qw{shuffle};
|
use List::Util qw{shuffle};
|
||||||
use Regexp::Common qw{URI};
|
use Regexp::Common qw{URI};
|
||||||
use Data::Dumper; # Uncomment for debugging
|
#use Data::Dumper; # Uncomment for debugging
|
||||||
|
|
||||||
# Load the model
|
# Load the model
|
||||||
use lib 'lib';
|
use lib 'lib';
|
||||||
|
|
Loading…
Reference in a new issue