Skip to content

Commit

Permalink
patching up docker stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
liorkesos authored and Avraham Ostreicher committed Jun 10, 2019
1 parent 25dc90f commit dc4c687
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Expand Up @@ -6,4 +6,6 @@ ADD . /usr/src/app
RUN yarn
RUN yarn build

EXPOSE 4040

CMD ["yarn", "serve"]
6 changes: 3 additions & 3 deletions docker-compose.yml
Expand Up @@ -3,12 +3,12 @@ version: '3'
services:
app:
build: ./
image: odmp
image: mean
expose:
- 80
- 4040
environment:
NODE_ENV: production
SERVER_PORT: 80
SERVER_PORT: 4040
JWT_SECRET: 0a6b944d-d2fb-46fc-a85e-0295c986cd9f
MONGO_HOST: mongodb://mongo/odmp
restart: always
Expand Down

0 comments on commit dc4c687

Please sign in to comment.