Skip to content

Commit

Permalink
fix docker warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Sep 3, 2024
1 parent 6063fe0 commit bca42f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.79.0-slim-bookworm as builder
FROM rust:1.79.0-slim-bookworm AS builder
WORKDIR /app
COPY . .
ENV SQLX_OFFLINE true
Expand All @@ -9,4 +9,4 @@ WORKDIR /app
COPY --from=builder /app/target/release/api api
COPY api/configuration configuration
ENV APP_ENVIRONMENT prod
ENTRYPOINT ["./api"]
ENTRYPOINT ["./api"]
4 changes: 2 additions & 2 deletions replicator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.79.0-slim-bookworm as builder
FROM rust:1.79.0-slim-bookworm AS builder
WORKDIR /app
# TODO: remove protobuf-compiler once the upstream gcp-bigquery-client remove it from its deps
RUN apt update && apt install protobuf-compiler clang -y
Expand All @@ -10,4 +10,4 @@ WORKDIR /app
RUN apt update && apt install ca-certificates -y
COPY --from=builder /app/target/release/replicator replicator
COPY replicator/configuration configuration
ENTRYPOINT ["./replicator"]
ENTRYPOINT ["./replicator"]

0 comments on commit bca42f8

Please sign in to comment.