Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiorowski committed Dec 28, 2023
1 parent 489919b commit c102cb3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion service-auth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COPY Cargo.lock /app/Cargo.lock
RUN cargo build --release

# Production
FROM debian:bookworm AS prod
FROM debian:bookworm-slim AS prod

WORKDIR /app

Expand Down
5 changes: 2 additions & 3 deletions service-notes/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Development
FROM rust:1.74 as dev
FROM rust:bookworm as dev

WORKDIR /app

Expand All @@ -11,7 +11,7 @@ COPY public.key /app/public.key
CMD ["cargo", "run"]

# Build
FROM rust:1.74 as build
FROM rust:bookworm as build

WORKDIR /app

Expand All @@ -32,4 +32,3 @@ COPY public.key /public.key
RUN apt-get update && apt-get install -y openssl ca-certificates libssl-dev # libpq-dev

CMD ["/app/rusve-notes"]

4 changes: 2 additions & 2 deletions service-users/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Development
FROM rust:1.74 as dev
FROM rust:bookworm as dev

WORKDIR /app

Expand All @@ -11,7 +11,7 @@ COPY public.key /app/public.key
CMD ["cargo", "run"]

# Build
FROM rust:1.74 as build
FROM rust:bookworm as build

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions service-utils/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Development
FROM rust:1.74 as dev
FROM rust:bookworm as dev

WORKDIR /app

Expand All @@ -11,7 +11,7 @@ COPY public.key /app/public.key
CMD ["cargo", "run"]

# Build
FROM rust:1.74 as build
FROM rust:bookworm as build

WORKDIR /app

Expand Down

0 comments on commit c102cb3

Please sign in to comment.