From 770cc238845a30c6ab38e06a99e38f2e274addb9 Mon Sep 17 00:00:00 2001 From: Daniel Bowling Date: Mon, 10 Jan 2022 12:53:10 -0500 Subject: [PATCH] Getting things ready to deploy --- Dockerfile | 2 +- guestbook-ng.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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';