Copy static files to docker image
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
f857ad9a95
commit
0ac59e88d4
|
@ -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"]
|
Loading…
Reference in a new issue