u
u
This commit is contained in:
parent
f110e7f87a
commit
92dadd43a3
1 changed files with 2 additions and 4 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue