-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23ac3d7
commit 12e008c
Showing
4 changed files
with
387 additions
and
2 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,5 +1,14 @@ | ||
FROM node:10.16.3 | ||
|
||
RUN mkdir /srv/chat && chown node:node /srv/chat | ||
|
||
USER node | ||
|
||
WORKDIR /srv/chat | ||
|
||
COPY --chown=node:node package.json package-lock.json ./ | ||
|
||
RUN npm install --quiet | ||
|
||
# TODO: Can remove once we have some dependencies in package.json. | ||
RUN mkdir -p node_modules |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.