cors-anywhere-docker/Dockerfile
Liam c0e8fdf148
Some checks failed
Publish Docker Images / docker (push) Failing after 11s
docker
2023-11-21 12:57:41 +00:00

12 lines
283 B
Docker

FROM fascinated/docker-images:node-pnpm-latest
ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY package*.json pnpm-lock.yaml ./
RUN pnpm install --production --silent && mv node_modules ../
COPY . .
EXPOSE 3000
RUN chown -R node /usr/src/app
USER node
CMD ["node", "src/index.js"]