Skip to content

Commit bd84f32

Browse files
committed
👷 Fix build error
1 parent 477798a commit bd84f32

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ FROM rust:1.65 as builder
22
WORKDIR /app
33
COPY Cargo.toml Cargo.toml
44
COPY src src
5-
RUN cargo build --target x86_64-unknown-linux-musl --release
6-
FROM scratch
7-
COPY --from=builder /app/target/release/chatgpt-proxy-server /usr/local/bin/chatgpt-proxy-server
5+
RUN cargo build --release
86
EXPOSE 3000
9-
CMD ["chatgpt-proxy-server"]
7+
CMD ["./target/release/chatgpt-proxy-server"]

0 commit comments

Comments
 (0)