improved docker file

This commit is contained in:
Grzegorz Leoniec 2018-11-24 12:58:13 +01:00
parent 80e036c0fb
commit e2f7bc516c

View File

@ -1,14 +1,14 @@
FROM node:10-alpine
LABEL Description="Server part of the social network Human Connection" Vendor="Human-Connection gGmbH" Version="0.0.1" Maintainer="Human-Connection gGmbH (developer@human-connection.org)"
LABEL Description="Backend of the Social Network Human-Connection.org" Vendor="Human-Connection gGmbH" Version="0.0.1" Maintainer="Human-Connection gGmbH (developer@human-connection.org)"
# expose the app port
# Expose the app port
EXPOSE 4000
ARG WORKDIR=/backend
ARG WORKDIR=/nitro-backend
RUN mkdir -p $WORKDIR
WORKDIR $WORKDIR
# Install the Application Dependencies
COPY package.json .
COPY yarn.lock .
RUN yarn install --production=false --frozen-lockfile --non-interactive