diff --git a/docker-scripts/entrypoint.sh b/docker-scripts/entrypoint.sh index fc1a6d4..b2f5ef3 100644 --- a/docker-scripts/entrypoint.sh +++ b/docker-scripts/entrypoint.sh @@ -10,6 +10,7 @@ run_backend() { run_frontend() { cd /workspace/src/frontend + pnpm build echo "Running frontend" pm2 start pnpm -- start } diff --git a/src/frontend/.env.production b/src/frontend/.env.production new file mode 100644 index 0000000..6396c86 --- /dev/null +++ b/src/frontend/.env.production @@ -0,0 +1,5 @@ +# This file is only required for deploying on Vercel +# The root level .env file is used for local development with Docker + +NEXT_PUBLIC_API_URL=http://localhost:8000 +NEXT_PUBLIC_LOCAL_MODE_ENABLED=true