Update Dockerfile

Co-authored-by: Robert Dyer <rdyer@unl.edu>
This commit is contained in:
Woodson Gates
2024-08-12 10:56:42 -04:00
committed by GitHub
parent 9e2689e052
commit df7325a58c
+2 -3
View File
@@ -8,11 +8,10 @@ WORKDIR /usr/src/app
RUN mkdir -p ./cache
# Copy the current directory contents into the container at /usr/src/app
COPY . .
COPY .env *.js *.credentials package.json README.md LICENSE .
# Install any needed packages specified in package.json
RUN npm install
RUN npm update
RUN npm install && npm update
# Define environment variable
ENV NODE_ENV=production