Skip to content

Commit 8a454d1

Browse files
committed
fix: remove command in package.json and update readme.md
1 parent 16a2e4b commit 8a454d1

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,20 @@ pnpm dev
5454
>
5555
> Setup a PostgreSQL database (locally or online) and replace the **DATABASE_URL** environment variable. Then you can run `pnpm db:push` to update your database schema and then run `pnpm db:seed` to seed your database.
5656
57+
## Dockerfile
5758

59+
Build the image using the following command
60+
61+
```bash
62+
docker build -t start-ui-web .
63+
```
64+
Then, you can run it with this example command:
65+
66+
```bash
67+
And now you can use this command example to run it `docker run -d --network start-ui-web_default -p 3000:3000 --name start-ui-web-container start-ui-web`
68+
```
69+
70+
it use `.env` of your project when it build.
5871

5972

6073
### Emails in development

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"dk:start": "docker compose start",
3737
"dk:stop": "docker compose stop",
3838
"dk:clear": "docker compose down --volumes",
39-
"dk:build": "docker build -t start-ui-web . && docker run -d --network start-ui-web_default -p 3000:3000 --name start-ui-web-container start-ui-web",
4039
"db:init": "pnpm db:push && pnpm db:seed",
4140
"db:push": "prisma db push",
4241
"db:ui": "prisma studio",

0 commit comments

Comments
 (0)