mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-01 11:31:22 +00:00
Adds Dockerfile for building docker image
This commit is contained in:
parent
f19c5d1049
commit
a719367e18
1 changed files with 13 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
FROM node:slim
|
||||||
|
|
||||||
|
# To add your own config file, mount it into the container at runtime
|
||||||
|
# with `docker run -v <config_file>:/src/config.js jasongwartz/haste-server`
|
||||||
|
|
||||||
|
EXPOSE 7777
|
||||||
|
COPY . /src
|
||||||
|
WORKDIR /src
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
CMD ["npm", "start"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue