+2
-3
@@ -8,11 +8,10 @@ WORKDIR /usr/src/app
|
|||||||
RUN mkdir -p ./cache
|
RUN mkdir -p ./cache
|
||||||
|
|
||||||
# Copy the current directory contents into the container at /usr/src/app
|
# 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
|
# Install any needed packages specified in package.json
|
||||||
RUN npm install
|
RUN npm install && npm update
|
||||||
RUN npm update
|
|
||||||
# Define environment variable
|
# Define environment variable
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user