Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiorowski committed Dec 21, 2023
1 parent dbcaff3 commit 495e1c2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions service-users/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ FROM rust:1.74 as dev

WORKDIR /app

COPY src .
COPY Cargo.toml .
COPY Cargo.lock .
COPY public.key .
COPY src /app/src
COPY Cargo.toml /app/Cargo.toml
COPY Cargo.lock /app/Cargo.lock
COPY public.key /app/public.key

CMD ["cargo", "run"]

Expand All @@ -15,10 +15,10 @@ FROM rust:1.74 as build

WORKDIR /app

COPY src .
COPY Cargo.toml .
COPY Cargo.lock .
COPY public.key .
COPY src /app/src
COPY Cargo.toml /app/Cargo.toml
COPY Cargo.lock /app/Cargo.lock
COPY public.key /app/public.key
RUN cargo build --release

# Production
Expand Down

0 comments on commit 495e1c2

Please sign in to comment.