fix docker not including public dir

This commit is contained in:
creations 2025-06-01 08:00:40 -04:00
parent 0a0a1b2a50
commit 9abd154b99
Signed by: creations
GPG key ID: 8F553AA4320FC711

View file

@ -5,6 +5,7 @@ WORKDIR /app
COPY Cargo.toml Cargo.lock ./
COPY src ./src
COPY public ./public
RUN cargo build --release
@ -13,7 +14,9 @@ FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY --from=builder /app/target/release/timezone-db /usr/local/bin/app
COPY --from=builder /app/public ./public
ENV RUST_LOG=info