17 lines
291 B
Docker
17 lines
291 B
Docker
FROM node:14.15.0-alpine
|
|
|
|
WORKDIR /usr/app
|
|
|
|
COPY package.json .
|
|
RUN yarn --no-lockfile
|
|
COPY src/* src/
|
|
|
|
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
|
|
CMD [ "node", "--max-http-header-size=64000", "src/index.js" ]
|