Add volumes to use docker for development

This commit is contained in:
Robert Schäfer 2018-11-01 14:10:06 +01:00
parent 431f024430
commit f3c0678611
2 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,7 @@ LABEL Description="Server part of the social network Human Connection" Vendor="H
# expose the app port
EXPOSE 4000
ARG WORKDIR=/HC-Server
ARG WORKDIR=/Backend
RUN mkdir -p $WORKDIR
WORKDIR $WORKDIR

View File

@ -17,6 +17,9 @@ services:
- CLIENT_URI=http://localhost:3000
- JWT_SECRET=b/&&7b78BF&fv/Vd
- MOCK=false
volumes:
- .:/Backend
- /Backend/node_modules
neo4j:
build: