refactored Dockerfile

This commit is contained in:
Luiz Felipe F M Costa 2019-09-06 20:00:00 -07:00 committed by Danny Coates
parent 8f4a53db64
commit 90f6a07d4a
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
8 changed files with 68 additions and 33 deletions

View file

@ -1,13 +1,6 @@
## Setup
Before building the Docker image, you must build the production assets:
```sh
npm run build
```
Then you can run either `docker build` or `docker-compose up`.
Run `docker build -t send:latest .` to create an image or `docker-compose up` to run a full testable stack. *We don't recommend using docker-compose for production.*
## Environment variables: