feat(docker-compose): add worker as service

This commit is contained in:
Ali BARIN
2022-09-07 23:02:20 +02:00
parent 3755a3ce4c
commit 29a9338ad7
6 changed files with 34 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1
FROM node:16
WORKDIR /automatisch
# npm registry for dev purposes
RUN npm config set fetch-retry-maxtimeout 5000
RUN npm config set fetch-retry-mintimeout 3000
RUN npm set registry http://localhost:5000
# npm registry for dev purposes
RUN yarn global add @automatisch/cli