This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/handshake-api/Dockerfile

20 lines
251 B
Docker
Raw Normal View History

2021-07-26 11:28:27 +00:00
FROM node:16.5.0-alpine
2020-07-27 09:30:55 +00:00
WORKDIR /usr/app
2020-07-30 12:23:49 +00:00
COPY package.json .
2021-07-26 11:28:27 +00:00
COPY yarn.lock .
RUN yarn
2020-07-30 12:23:49 +00:00
COPY src/* src/
2020-07-27 09:30:55 +00:00
ENV HSD_NETWORK="main"
ENV HSD_HOST="0.0.0.0"
ENV HSD_PORT=12037
ENV HSD_API_KEY="foo"
EXPOSE 3100
ENV NODE_ENV production
2021-07-26 11:28:27 +00:00
CMD [ "node src" ]