mirror of
https://github.com/len0rd/personal-website.git
synced 2025-11-05 11:02:19 -05:00
container runs for production site
This commit is contained in:
parent
d8fa64a9ae
commit
032ab59def
4 changed files with 7 additions and 5 deletions
|
|
@ -21,6 +21,10 @@ Its a website! Node/npm
|
|||
1. From this directory install dependencies with `npm install`
|
||||
2. Run the server with `npm start`
|
||||
|
||||
## Build the docker image
|
||||
## Build the production docker image
|
||||
|
||||
`docker build -t leo_website:latest .`
|
||||
|
||||
## Run the production container
|
||||
|
||||
`docker run --rm -td -p 8888:8090 leo_website:prod`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue