Partially revert Dockerfile changes

This commit is contained in:
Laura Hausmann 2023-08-04 19:25:55 +02:00
parent 5f2f8af051
commit 5fe5165444
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -57,7 +57,7 @@ RUN --mount=type=cache,target=/iceshrimp/.yarncache rm -rf .yarncache/* && cp -T
COPY packages/backend/native-utils packages/backend/native-utils/
# Compile native-utils utilising sccache
RUN --mount=type=cache,target=/root/.cargo --mount=type=cache,target=/tmp/sccache --mount=type=cache,target=/iceshrimp/packages/backend/native-utils/target --mount=type=cache,target=/iceshrimp/packages/backend/native-utils/migration/target yarn workspace native-utils build
RUN --mount=type=cache,target=/root/.cargo --mount=type=cache,target=/tmp/sccache --mount=type=cache,target=/iceshrimp/packages/backend/native-utils/migration/target yarn workspace native-utils build
# Copy in the rest of the files to compile
COPY . ./