Skip to content

Commit

Permalink
fix(filemanager): swap docker hub images for AWS public ECR
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalenic committed Sep 20, 2024
1 parent c387d2e commit 3ff3ae8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/workload/stateless/stacks/filemanager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# When running this microservice from the Docker Compose root, this Dockerfile
# will build the image, install dependencies, and start the server

FROM lukemathwalker/cargo-chef:latest-rust-1 AS chef
FROM public.ecr.aws/docker/library/rust:1.81 AS chef

ARG DATABASE_URL
ENV DATABASE_URL $DATABASE_URL

WORKDIR /app

# rustfmt is used for code gen.
RUN rustup component add rustfmt
RUN cargo install cargo-chef && rustup component add rustfmt

FROM chef AS planner

Expand All @@ -27,7 +27,7 @@ RUN cargo chef cook
COPY . .
RUN cargo build --bin filemanager-api-server

FROM debian:bookworm-slim AS runtime
FROM public.ecr.aws/docker/library/debian:bookworm-slim AS runtime

# curl is used for healthcheck.
RUN apt -y update && apt -y install curl
Expand Down

0 comments on commit 3ff3ae8

Please sign in to comment.