Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mohaijiang committed Mar 8, 2024
1 parent 794f8fb commit 335fde4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 13 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
FROM docker.io/hamstershare/debian_docker_cli:20231010
RUN npm install -g truffle
FROM golang:1.20.2 as builder

COPY ./aline-test /usr/local/bin/aline-test
WORKDIR /app

ENV GO111MODULE on
ENV GOPROXY https://goproxy.cn

COPY . .

RUN make linux-test

FROM docker.io/hamstershare/debian_docker_cli:20240308

COPY --from=builder /app/aline-test /usr/local/bin/aline-test

ENV PORT=8080
ENV GRPC_PORT=50001
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile_base
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ RUN "$HOME/.cargo/bin/rustup" default stable && \
"$HOME/.cargo/bin/rustup" update nightly && \
"$HOME/.cargo/bin/rustup" target add wasm32-unknown-unknown --toolchain nightly


RUN npm install -g truffle

0 comments on commit 335fde4

Please sign in to comment.