u
This commit is contained in:
Tomás Bianco 2020-02-02 21:09:11 -03:00
parent f110e7f87a
commit 92dadd43a3

View file

@ -7,13 +7,11 @@ COPY package*.json /app/
RUN apk add --no-cache tzdata
ENV TZ=America/Argentina/Buenos_Aires
# Later, copy the app files. That improves development speed as buiding the Docker image will not have
# to download and install all the NPM dependencies every time there's a change in the source code
ENV NODE_ENV production
RUN npm install --no-progress --production && npm install --no-progress passport-ldapjs passport-ldapauth
RUN npm install -f
COPY . /app/
EXPOSE 3000
EXPOSE 3000
CMD npm run start