fix yarn docker

This commit is contained in:
April John 2023-08-01 22:52:22 +02:00
parent 76f7f1c6eb
commit ead753f372

View file

@ -65,7 +65,7 @@ COPY --from=build /iceshrimp/packages/backend/built /iceshrimp/packages/backend/
COPY --from=build /iceshrimp/packages/backend/assets/instance.css /iceshrimp/packages/backend/assets/instance.css
COPY --from=build /iceshrimp/packages/backend/native-utils/built /iceshrimp/packages/backend/native-utils/built
RUN corepack enable && corepack prepare yarn@latest --activate
RUN corepack enable && corepack prepare yarn@stable --activate
ENV NODE_ENV=production
VOLUME "/iceshrimp/files"
ENTRYPOINT [ "/sbin/tini", "--" ]