mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Add dockerfile
This commit is contained in:
parent
f2542f99bd
commit
e46a116bac
6
.dockerignore
Normal file
6
.dockerignore
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.git
|
||||||
|
.eslintignore
|
||||||
|
.eslintrc
|
||||||
|
.gitignore
|
||||||
|
Dockerfile
|
||||||
|
README.md
|
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
FROM node:5.5.0
|
||||||
|
|
||||||
|
RUN mkdir -p /usr/src/app
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
COPY package.json /usr/src/app/
|
||||||
|
RUN npm install
|
||||||
|
COPY . /usr/src/app
|
||||||
|
RUN npm install -g gulp
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
ENV ONION_BASE_URL='/'
|
||||||
|
ENV ONION_SERVER_URL='http://spool.ascribe:49880/'
|
||||||
|
|
||||||
|
CMD [ "gulp", "serve" ]
|
Loading…
Reference in New Issue
Block a user