11 lines
312 B
Docker
11 lines
312 B
Docker
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" ]
|