mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-08-29 14:26:18 +00:00
Update Dockerfile
added platform
This commit is contained in:
parent
3f214545d7
commit
14d0ef0361
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#Build latest x-ui from source
|
#Build latest x-ui from source
|
||||||
FROM golang:1.20.4-alpine AS builder
|
FROM --platform=$BUILDPLATFORM golang:1.20.4-alpine AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
RUN apk --no-cache --update add build-base gcc wget unzip
|
RUN apk --no-cache --update add build-base gcc wget unzip
|
||||||
|
|
Loading…
Reference in a new issue