added copying of static assets
All checks were successful
Cargo Build & Test / Push to container registry (push) Successful in 2m26s
All checks were successful
Cargo Build & Test / Push to container registry (push) Successful in 2m26s
This commit is contained in:
@@ -6,5 +6,9 @@ RUN cargo install --path .
|
|||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
# RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*
|
# RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*
|
||||||
COPY --from=builder /usr/local/cargo/bin/workout /usr/local/bin/workout
|
COPY --from=builder /usr/local/cargo/bin/workout /usr/local/bin/workout
|
||||||
|
COPY assets /app/assets
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
CMD ["workout"]
|
CMD ["workout"]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user