File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
- node_modules
1
+ node_modules
2
+ .git
3
+ .gitignore
4
+ README.md
5
+ MongoDBSetup.md
6
+ LICENSE
7
+ .env
8
+ .env *
9
+ Dockerfile
10
+ GuideAssets
11
+ .dockerignore
Original file line number Diff line number Diff line change @@ -289,3 +289,16 @@ cd apps/user-service
289
289
# Build dockerfile after replacing the build arguments (Ensure that your docker daemon is running beforehand)
290
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 .
291
291
```
292
+
293
+ ### Running Docker
294
+
295
+ ``` bash
296
+ # Run the docker image, the -d tag is to run it detached
297
+ docker run -p 3001:3001 -d user-service
298
+
299
+ # To check the container information
300
+ docker ps
301
+
302
+ # To stop the container, use the container ID from the previous command
303
+ docker stop < container_id>
304
+ ```
You can’t perform that action at this time.
0 commit comments