From 21c1244ef69d3233c649e9736553f96a4d412239 Mon Sep 17 00:00:00 2001 From: Kurt Date: Fri, 1 Apr 2022 20:44:48 -0500 Subject: [PATCH] fix docker environment variables --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b1af68cd..af06471a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,8 +42,8 @@ RUN npm run build FROM base ENV DATABASE_URL=file:/data/sqlite.db -ENV PORT = "8080" -ENV NODE_ENV = "production" +ENV PORT="8080" +ENV NODE_ENV="production" # add shortcut for connecting to database CLI RUN echo "#!/bin/sh\nset -x\nsqlite3 \$DATABASE_URL" > /usr/local/bin/database-cli && chmod +x /usr/local/bin/database-cli