build(docker/backend): tweak stack root, remove mounts [skip ci]

This commit is contained in:
Sarah Vaupel 2025-01-24 11:55:28 +01:00
parent 609e4310da
commit 3f9abfdcc2

View File

@ -29,7 +29,7 @@ ENV PROJECT_DIR=/fradrive
RUN mkdir -p "${PROJECT_DIR}"
WORKDIR ${PROJECT_DIR}
ENV HOME=${PROJECT_DIR}
ENV STACK_ROOT="/.stack"
ENV STACK_ROOT="${PROJECT_DIR}/.stack"
RUN --mount=type=bind,source=.,target=.,rw stack install yesod-bin
RUN --mount=type=bind,source=.,target=.,rw stack install hpack
RUN stack install yesod-bin
RUN stack install hpack