fix dockerfile

This commit is contained in:
me 2024-11-08 20:03:08 +02:00
parent 22d1ce3764
commit 2187e44c5b

View file

@ -7,8 +7,8 @@ COPY . /app/
WORKDIR /app WORKDIR /app
RUN cabal update RUN cabal update
RUN cabal build exe:fedi --enable-executable-static RUN cabal build exe:fediserve --enable-executable-static
RUN strip `cabal list-bin fedi` RUN strip `cabal list-bin fediserve`
FROM scratch AS artifact FROM scratch AS artifact
COPY --from=build /app/dist-newstyle/build/x86_64-linux/*/*/x/*/build/*/fedi . COPY --from=build /app/dist-newstyle/build/x86_64-linux/*/*/x/*/build/*/fediserve .