pyth-crosschain/third_party/pyth/evm-watcher/Dockerfile

11 lines
312 B
Docker
Raw Normal View History

2022-07-15 08:37:58 -07:00
FROM node:16-alpine@sha256:72a490e7ed8aed68e16b8dc8f37b5bcc35c5b5c56ee3256effcdee63e2546f93
RUN addgroup -S pyth -g 10001 && adduser -S pyth -G pyth -u 10001
USER pyth
WORKDIR /usr/src/evm-watcher
COPY --chown=pyth:pyth . .
RUN npm ci && npm run build && npm cache clean --force
CMD [ "npm", "run", "start" ]