Created a Dockerfile & docker-compose so theres no need to run in separate terminals (#111)

* docker file & docker-compose

* Readme & spelling corretions

* undoing formatOnSave changes

* more changes to readme
This commit is contained in:
Marko
2019-02-21 16:41:24 +01:00
committed by Maciej Hirsz
parent 71778e9450
commit dfaabac0df
4 changed files with 53 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM node:alpine
WORKDIR /app
RUN apk update && apk add python g++ make openssh git bash pdftk
RUN export PYTHONPATH=${PYTHONPATH}:/usr/lib/python2.7
COPY ./package.json yarn.lock ./
RUN yarn
COPY . .
# Frontend is exposing 3000
# Backend is exposing 8080
# No need for expose, if using docker-compose & docker run -p 3000:3000