Skip to content

Commit

Permalink
fix docker environment variables (remix-run#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkurt authored Apr 2, 2022
1 parent a3adc70 commit 33f8ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33f8ec6

Please sign in to comment.