Attempt removing dev dependencies to reduce docker image size

pull/256/head
Candid Dauth 2023-12-23 23:27:23 +01:00
rodzic 8e5f518fef
commit 973878593c
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -13,9 +13,7 @@ WORKDIR /opt/facilmap
COPY ./ ./
RUN yarn install
RUN yarn run build:frontend:app && yarn run build:server
RUN yarn install && yarn run build:frontend:app && yarn run build:server && yarn workspaces focus -A --production
RUN mkdir -p "$CACHE_DIR" && chown -R facilmap:facilmap "$CACHE_DIR"