This commit is contained in:
Jason Gwartz 2018-05-10 15:36:57 +00:00 committed by GitHub
commit e9297c9609
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
Dockerfile Normal file
View 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"]