Add docker support

This commit is contained in:
viktorstrate
2019-07-29 23:39:38 +02:00
parent 5e41e4d34d
commit c70cc402b0
17 changed files with 15398 additions and 6719 deletions

2
api/.dockerignore Normal file
View File

@@ -0,0 +1,2 @@
node_modules/
build/

View File

@@ -3,10 +3,10 @@ FROM node:10
RUN mkdir -p /app
WORKDIR /app
COPY package.json .
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 4000
EXPOSE 4001
CMD ["npm", "start"]

7069
api/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff