Skip to content

Commit

Permalink
updated INSTALLATION.md
Browse files Browse the repository at this point in the history
  • Loading branch information
VanshikaSabharwal committed Nov 18, 2024
1 parent 15282bc commit 5830ec7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.10.0 AS build
FROM node:20.10.0-alpine AS build

WORKDIR /usr/src/app

Expand Down
24 changes: 22 additions & 2 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,32 @@ docker build -t talawa-admin .
After the build is complete, run the Docker container using this command:
For Linux/MacOS
```bash
docker run -p 4321:4321 talawa-admin
docker run -d \
--name talawa-admin \
-p 4321:4321 \
-v $(pwd)/.env:/app/.env \
talawa-admin
```bash
For Windows
docker run -d `
--name talawa-admin `
-p 4321:4321 `
-v ${PWD}\.env:/app/.env `
talawa-admin
The application will be accessible at `http://localhost:4321`
4. Managing the container:
To stop the container:
```bash
docker stop talawa-admin
# Configuration
It's important to configure Talawa-Admin. Here's how to do it.
Expand Down Expand Up @@ -379,4 +399,4 @@ If you don't want this hook to run, you can manually opt out of this using the `
git pull --no-verify
<br/>
```
```

0 comments on commit 5830ec7

Please sign in to comment.