fix dockerfile
This commit is contained in:
parent
22d1ce3764
commit
2187e44c5b
1 changed files with 3 additions and 3 deletions
|
@ -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 .
|
||||||
|
|
Loading…
Add table
Reference in a new issue