소스 검색

👷 Added Docker CI

itspooya 1 년 전
부모
커밋
0a8cf7e41b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -16,7 +16,7 @@ RUN GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o xui-release-$TARGETARCH -v mai
 FROM ubuntu:20.04
 # Set up the working directory
 WORKDIR /app
-
+ARG TARGETOS TARGETARCH
 # Copy the X-ui binary and required files from the builder stage
 COPY --from=builder /app/xui-release-$TARGETARCH /app/x-ui/xui-release
 COPY x-ui.service /app/x-ui/x-ui.service