2022-08-13 18:21:23 +03:00
|
|
|
# BlueWest Project
|
|
|
|
|
|
|
|
|
|
|
|
## Using docker
|
|
|
|
|
|
|
|
To build the BlueWest.Api image use:
|
|
|
|
|
|
|
|
`docker build -f BlueWest.Api/Dockerfile . -t myappdebug`
|
|
|
|
|
|
|
|
Copy the generated hash, and run:
|
|
|
|
|
|
|
|
` docker run -p 8080:80 image-hash`
|
|
|
|
|
|
|
|
|
|
|
|
## Using Docker Compose
|
|
|
|
|
|
|
|
Run the following command to instance a MySQL database and the API:
|
|
|
|
|
2022-08-19 06:18:50 +03:00
|
|
|
`docker-compose up --build -d`
|