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

21 lines
357 B
Docker
Raw Permalink Normal View History

FROM node:16.14.2-alpine
2020-07-27 09:30:55 +00:00
WORKDIR /usr/app
2022-04-07 12:51:12 +00:00
COPY packages/handshake-api/package.json \
packages/handshake-api/yarn.lock \
./
2021-07-26 11:28:27 +00:00
2021-07-26 17:06:15 +00:00
RUN yarn --frozen-lockfile
2021-07-26 11:28:27 +00:00
2022-04-07 12:38:19 +00:00
COPY packages/handshake-api/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
2022-03-31 09:59:30 +00:00
CMD ["node", "src/index.js"]