| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/javascript-tutorial/server/master/Dockerfile | [Back] [Original] |
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
| Web Proxy Viewer | New URL | Original Page |