-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from BretFisher/update-result-deps
Update result node version and npm dependencies
- Loading branch information
Showing
7 changed files
with
1,185 additions
and
7,006 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
FROM node:8.9-alpine | ||
FROM node:10-slim | ||
|
||
RUN mkdir -p /app | ||
WORKDIR /app | ||
|
||
RUN npm install -g nodemon | ||
RUN npm config set registry https://registry.npmjs.org | ||
COPY package.json /app/package.json | ||
RUN npm install \ | ||
&& npm ls \ | ||
|
||
COPY package*.json ./ | ||
|
||
RUN npm ci \ | ||
&& npm cache clean --force \ | ||
&& mv /app/node_modules /node_modules | ||
COPY . /app | ||
|
||
COPY . . | ||
|
||
ENV PORT 80 | ||
|
||
EXPOSE 80 | ||
|
||
CMD ["node", "server.js"] |
Oops, something went wrong.