Skip to content

Commit 51a842e

Browse files
committed
fix
1 parent 5dbda16 commit 51a842e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docker-scripts/entrypoint.sh

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ run_backend() {
1010

1111
run_frontend() {
1212
cd /workspace/src/frontend
13+
pnpm build
1314
echo "Running frontend"
1415
pm2 start pnpm -- start
1516
}

src/frontend/.env.production

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This file is only required for deploying on Vercel
2+
# The root level .env file is used for local development with Docker
3+
4+
NEXT_PUBLIC_API_URL=http://localhost:8000
5+
NEXT_PUBLIC_LOCAL_MODE_ENABLED=true

0 commit comments

Comments
 (0)