Skip to content

Commit

Permalink
fix: docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
zdz committed Apr 27, 2022
1 parent cab99fb commit 2f76ee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV RUSTFLAGS="-C target-feature=-crt-static"
WORKDIR /app
COPY ./ /app

RUN apk add --no-cache musl-dev git
RUN apk add --no-cache musl-dev git cmake
RUN cargo build --release --bin stat_server
RUN strip /app/target/release/stat_server

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.cloud
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV RUSTFLAGS="-C target-feature=-crt-static"
WORKDIR /app
COPY ./ /app

RUN apk add --no-cache musl-dev git
RUN apk add --no-cache musl-dev git cmake
RUN cargo build --release --bin stat_server
RUN strip /app/target/release/stat_server

Expand Down

0 comments on commit 2f76ee0

Please sign in to comment.