Skip to content

Commit

Permalink
Fix warnings for Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamuko committed Sep 5, 2024
1 parent ff97bb9 commit 6ae834b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# BUILD CONTAINER

FROM rust:1.76 as build
FROM rust:1.76 AS build

ENV CARGO_NET_GIT_FETCH_WITH_CLI=true

RUN USER=root cargo new --bin pagenine

# Build dependencies separately for layer caching.
WORKDIR ./pagenine
WORKDIR /pagenine
COPY ./Cargo.lock ./Cargo.lock
COPY ./Cargo.toml ./Cargo.toml
RUN cargo build --release
Expand Down

0 comments on commit 6ae834b

Please sign in to comment.