refactor: Adjust dockerfile to work without lerna

This commit is contained in:
Faruk AYDIN
2024-11-19 18:31:22 +03:00
parent 5ba575fdfd
commit 5a6d561c1a

View File

@@ -11,10 +11,12 @@ WORKDIR /automatisch
# copy the app, note .dockerignore
COPY . /automatisch
RUN yarn
RUN cd packages/web && yarn
RUN cd packages/web && yarn build
RUN cd packages/backend && yarn --production
RUN \
rm -rf /usr/local/share/.cache/ && \
apk del build-dependencies