Skip to content

Commit

Permalink
Small enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
Niek committed Mar 20, 2023
1 parent 787f780 commit 096af3e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:18
FROM node:18-alpine

ADD . /work
WORKDIR /work

RUN npm ci

CMD ["bash"]
CMD ["npm", "run", "dev:public"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm ci
npm run dev # or: npm run build
```

## Use with docker compose
## Use with Docker compose

```bash
docker compose up -d
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version: "3"
services:
chatgpt_web:
container_name: chatgpt_web
command: npm run deploy
restart: always
ports:
- 5173:5173
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"deploy": "vite --host 0.0.0.0",
"dev:public": "vite --host 0.0.0.0",
"build": "vite build",
"build:github": "vite build --base=/chatgpt-web/",
"preview": "vite preview",
Expand Down

0 comments on commit 096af3e

Please sign in to comment.