feat: Do not build web when it's a worker instance

This commit is contained in:
Faruk AYDIN
2024-01-12 16:44:44 +01:00
parent 115a993cd2
commit af6574fdf1

View File

@@ -12,7 +12,7 @@ WORKDIR /automatisch
RUN yarn install
RUN cd packages/web && yarn build
RUN if [ "$WORKER" != "true" ]; then cd packages/web && yarn build; fi
RUN \
rm -rf /usr/local/share/.cache/ && \