File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ You can start editing the page by modifying `app/page.tsx`. The page auto-update
42
42
# Navigate to the frontend app directory
43
43
cd apps/frontend
44
44
# Build dockerfile (Ensure that your docker daemon is running beforehand)
45
- docker build -t frontend -e NEXT_PUBLIC_QUESTION_SERVICE_URL= " http://localhost:8080/ " - f Dockerfile .
45
+ docker build -t frontend -f Dockerfile .
46
46
```
47
47
48
48
Run the backend server locally and visit http://localhost:3000/ to see the frontend application working
@@ -51,7 +51,7 @@ Run the backend server locally and visit http://localhost:3000/ to see the front
51
51
52
52
``` sh
53
53
# Run the docker image, the -d tag is to run it detached
54
- docker run -p 3000:3000 -d frontend
54
+ docker run -p 3000:3000 -d frontend -e NEXT_PUBLIC_QUESTION_SERVICE_URL= " http://localhost:8080/ "
55
55
56
56
# To see the running container
57
57
docker ps
Original file line number Diff line number Diff line change 287
287
# Navigate to the user-service app directory
288
288
cd apps/user-service
289
289
# Build dockerfile after replacing the build arguments (Ensure that your docker daemon is running beforehand)
290
- docker build -t user-service --build-arg JWT_TOKEN='replace_with_jwt_token ' --build-arg DB_CLOUD_URI='replace_with_db_uri_here' -f Dockerfile .
290
+ docker build -t user-service --build-arg JWT_SECRET='replace_with_jwt_secret ' --build-arg DB_CLOUD_URI='replace_with_db_uri_here' -f Dockerfile .
291
291
```
292
292
293
293
### Running Docker
You can’t perform that action at this time.
0 commit comments