mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 08:31:55 +08:00
refactor(Dockerfile): standardize Dockerfile structure and remove unused platform argument
This commit is contained in:
parent
81e7b2d9d8
commit
380d993b6d
@ -1,8 +1,9 @@
|
||||
FROM --platform=$TARGETPLATFORM alpine:latest
|
||||
FROM alpine:latest
|
||||
|
||||
ARG TARGETARCH
|
||||
WORKDIR /app
|
||||
|
||||
COPY proxy-go.$TARGETARCH /app/proxy-go
|
||||
COPY proxy-go.${TARGETARCH} /app/proxy-go
|
||||
|
||||
RUN mkdir -p /app/data && \
|
||||
chmod +x /app/proxy-go && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user