1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-23 17:50:19 +01:00
haste-server/Dockerfile

17 lines
205 B
Text
Raw Normal View History

2020-09-22 20:18:02 +02:00
FROM node:lts-alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . .
RUN npm run build
ENV HOST 0.0.0.0
EXPOSE 7777
STOPSIGNAL SIGINT
ENTRYPOINT [ "node", "server.js" ]
CMD ["npm", "start"]