Switched to installing all dependencies

ref #1
This commit is contained in:
Nicolai Ort 2020-11-24 19:51:37 +01:00
parent 36192ea5eb
commit 16769b1978
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
FROM node:alpine
WORKDIR /app
COPY ./package.json ./
RUN npm i --prod
RUN npm i
COPY ./ ./
ENTRYPOINT [ "yarn","dev" ]

View File

@ -5,6 +5,7 @@ services:
ports:
- 4010:4010
environment:
APP_PORT: 4010
DB_TYPE: postgres
DB_HOST: backend_db
DB_PORT: 5432