Skip to content

Commit

Permalink
Fix queue target in Dockerfile (#27)
Browse files Browse the repository at this point in the history
* Fix queue target in Dockerfile

* Fix release folder target
  • Loading branch information
sneakycrow authored Nov 18, 2024
1 parent 1b129e5 commit 28cb94b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/queue.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ COPY services/silo-api ./services/silo-api
WORKDIR /app/services/forge-queue
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/app/target \
cargo build --release && \
cp /app/target/release/queue /usr/local/bin/queue
cargo build --release -p forge && \
cp /app/target/release/forge /usr/local/bin/forge

# Runtime stage
FROM --platform=$TARGETPLATFORM debian:bullseye-slim
Expand All @@ -38,7 +38,7 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*

# Copy the binary from builder
COPY --from=builder /usr/local/bin/queue /usr/local/bin/queue
COPY --from=builder /usr/local/bin/forge /usr/local/bin/forge

# Set the entrypoint
ENTRYPOINT ["/usr/local/bin/queue"]

0 comments on commit 28cb94b

Please sign in to comment.