Copy static files to docker image
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Julius 2022-06-12 00:25:38 +02:00
parent f857ad9a95
commit 0ac59e88d4
Signed by: j00lz
GPG key ID: AF241B0AA237BBA2

View file

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