diff --git a/Dockerfile b/Dockerfile index d84b7d4f..b014c67a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file