mirror of
https://github.com/SunRed/haste-server.git
synced 2024-11-23 17:50:19 +01:00
17 lines
No EOL
205 B
Docker
17 lines
No EOL
205 B
Docker
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"] |