mirror of https://github.com/Xhofe/alist
💚 fix dockerfile
parent
6275e27d1b
commit
a8730e82b5
|
@ -1,11 +1,11 @@
|
||||||
FROM alpine as builder
|
FROM alpine:latest as builder
|
||||||
LABEL stage=go-builder
|
LABEL stage=go-builder
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN apk add --no-cache bash git go=1.17.3-r0 gcc musl-dev; \
|
RUN apk add --no-cache bash git go gcc musl-dev; \
|
||||||
sh build.sh docker
|
sh build.sh docker
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine:latest
|
||||||
LABEL MAINTAINER="i@nn.ci"
|
LABEL MAINTAINER="i@nn.ci"
|
||||||
WORKDIR /opt/alist/
|
WORKDIR /opt/alist/
|
||||||
COPY --from=builder /app/bin/alist ./
|
COPY --from=builder /app/bin/alist ./
|
||||||
|
|
Loading…
Reference in New Issue