FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
server/Dockerfile at master · javascript-tutorial/server · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
javascript-tutorial
/
server
Public
Notifications
You must be signed in to change notification settings
Fork
149
Star
475
Code
Issues
7
Pull requests
1
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
server
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (14 loc) · 433 Bytes
Breadcrumbs
server
/
Dockerfile
Copy path
File metadata and controls
14 lines (14 loc) · 433 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM
node:10
ARG
LANG=en
ENV
LANG=${LANG}
ENV
HOST=0.0.0.0
USER
root
COPY
. /js/server
RUN
cd js && \
npm_config_user=root npm install -g bunyan gulp@4 && \
git clone https://github.com/javascript-tutorial/engine server/modules/engine --depth=1 && \
git clone https://github.com/javascript-tutorial/$LANG.javascript.info --depth=1 && \
cd server && npm install
WORKDIR
/js/server
EXPOSE
3000
CMD
./edit $LANG $LANG
Back
|
FazBrowse Home
|
New Git URL