fix: docs and dockerfile

change version of node
This commit is contained in:
Artemy Egorov 2023-08-27 15:17:34 +03:00
parent 5e19ae69f2
commit 99934ac3c7
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM node:18.17.1 FROM node:18-alpine
WORKDIR /app WORKDIR /app

View File

@ -35,7 +35,8 @@ npm run start
``` ```
### Docker ### Docker
```bash ```bash
sudo docker build -t txtdot/txtdot:1.2.0 . sudo docker build -t txtdot/txtdot:latest .
sudo docker run --network host -d txtdot/txtdot:1.2.0 sudo docker run --network host -d txtdot/txtdot:latest
``` ```