Update readme for when project is copied

This commit is contained in:
whitney 2024-01-29 00:18:51 -08:00
parent 29c9c044d9
commit c762d7c1ba
3 changed files with 7 additions and 4 deletions

View File

@ -8,4 +8,4 @@ EXPOSE 3000
WORKDIR /srv/website
CMD [ "npm", "install", "&&", "npx", "docusaurus", "start", "-h0.0.0.0" ]
CMD [ "npx", "docusaurus", "start", "-h0.0.0.0" ]

View File

@ -17,10 +17,12 @@ A personal website/blog, powered by the content-first & react-based web fram
### Running the Project
1. Run locally with nvm
1. Clone, and run `npm install` from the website directory.
2. Run locally with nvm
`cd website && npm run start`
2. Run as container with docker-compose
3. Run as container with docker-compose
docker-compose build && docker-compose up -d && docker logs -f website

View File

@ -17,3 +17,4 @@ services:
- traefik.http.routers.website.tls.certresolver=lets-encrypt
- traefik.http.services.website.loadbalancer.server.port=3000
- traefik.port=3002