diff --git a/Dockerfile b/Dockerfile index 241a779..b236162 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,4 +25,4 @@ ENV MOJO_REVERSE_PROXY=1 EXPOSE 3000 # Send it -CMD ["perl", "guestbook-ng.pl", "prefork", "-m", "development"] +CMD ["perl", "guestbook-ng.pl", "prefork", "-m", "production"] diff --git a/guestbook-ng.pl b/guestbook-ng.pl index 352b42a..8c24e5b 100755 --- a/guestbook-ng.pl +++ b/guestbook-ng.pl @@ -7,7 +7,7 @@ use Mojolicious::Lite -signatures; use Mojo::Pg; use List::Util qw{shuffle}; use Regexp::Common qw{URI}; -use Data::Dumper; # Uncomment for debugging +#use Data::Dumper; # Uncomment for debugging # Load the model use lib 'lib';