Copy static files to docker image
continuous-integration/drone/push Build was killed Details

main
Julius 2022-06-12 00:25:38 +02:00
parent f857ad9a95
commit 0ac59e88d4
Signed by: j00lz
GPG Key ID: AF241B0AA237BBA2
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,6 @@ RUN cargo build --release
COPY src /app/src
COPY templates /app/templates
COPY src /app/src
RUN cargo build --release
@ -20,6 +19,8 @@ from alpine as runtime
COPY --from=builder /app/target/release/tickets /app/tickets
COPY static /app/static
EXPOSE 8080
CMD ["/app/tickets"]