mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-25 05:51:22 +00:00
13 lines
243 B
Docker
13 lines
243 B
Docker
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"]
|
|
|
|
|