Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
489 B
2
Indexable
Never
FROM node:18-alpine

WORKDIR /app

COPY package.json ./

RUN npm install

ENV PV_KEY=
ENV JWT_SECRET=secret
ENV DATABASE_PW=Rafi123321.
ENV DATABASE_USER=postgres
ENV DATABASE_HOST=127.0.0.1
ENV DATABASE_NAME=poap
ENV WEB3_PROVIDER=https://api.avax-test.network/ext/bc/C/rpc
ENV REDIS_HOST=127.0.0.1
ENV PINATA_API_KEY=e24fd897eb3faad11f2f
ENV PINATA_PV_KEY=77546b497a90f7483a9d574887e85c0e4f315da3eebd2428cb79e1306884fa3d

COPY . .

RUN npm run build

CMD [ "npm", "run", "start:prod" ]