From 33f8ec6fe917eb0a58c803ef8a1aaf04fbb8e747 Mon Sep 17 00:00:00 2001 From: Kurt Mackey Date: Fri, 1 Apr 2022 20:50:22 -0500 Subject: [PATCH] fix docker environment variables (#50) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5507ffb3..0f278029 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,8 +41,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