From da31a76556120b0dfa2c3455c40ae7ffb9ad1214 Mon Sep 17 00:00:00 2001 From: sha3n Date: Mon, 14 Aug 2023 17:45:05 +0800 Subject: [PATCH] [fix]: fix gasoracle docker file --- gas-oracle/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gas-oracle/Dockerfile b/gas-oracle/Dockerfile index 7476def86..10e3fecd1 100644 --- a/gas-oracle/Dockerfile +++ b/gas-oracle/Dockerfile @@ -2,11 +2,10 @@ FROM golang:1.19-alpine3.15 as builder RUN apk add --no-cache make gcc musl-dev linux-headers git jq bash -COPY ./gas-oracle /gas-oracle -COPY ./bss-core /bss-core -COPY ./gas-oracle/docker.go.work /go/go.work +COPY . /app/ -RUN cd /gas-oracle && make gas-oracle +WORKDIR /app/gas-oracle +RUN make gas-oracle FROM alpine:3.15