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/docker/handshake-api/Dockerfile

21 lines
343 B
Docker
Raw Normal View History

2020-07-30 09:52:45 +00:00
FROM node:14.6.0
2020-07-27 09:30:55 +00:00
WORKDIR /usr/app
RUN yarn init -y && \
yarn add express express-http-proxy hs-client
COPY handshake-api/index.js ./
ENV HOST="localhost"
ENV PORT=3100
ENV HSD_NETWORK="main"
ENV HSD_HOST="0.0.0.0"
ENV HSD_PORT=12037
ENV HSD_API_KEY="foo"
EXPOSE $PORT
2020-07-31 13:25:57 +00:00
ENTRYPOINT ["node", "--max-http-header-size=64000", "index.js"]