mirror of https://github.com/bjdgyc/anylink.git
修改配置文件目录到 conf 下
This commit is contained in:
parent
f6fd01d1e5
commit
66ef639956
|
@ -8,7 +8,7 @@ RUN npx browserslist@latest --update-db \
|
|||
&& ls /web/ui
|
||||
|
||||
# server
|
||||
FROM golang:alpine as builder_golang
|
||||
FROM golang:1.16-alpine as builder_golang
|
||||
#TODO 本地打包时使用镜像
|
||||
#ENV GOPROXY=https://goproxy.io
|
||||
ENV GOOS=linux
|
||||
|
@ -29,12 +29,13 @@ LABEL maintainer="github.com/bjdgyc"
|
|||
ENV IPV4_CIDR="192.168.10.0/24"
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=builder_node /web/ui /app/ui
|
||||
COPY --from=builder_golang /anylink/server/anylink /app/
|
||||
COPY ./server/conf /app/conf
|
||||
COPY ./server/files /app/files
|
||||
COPY docker_entrypoint.sh /app/
|
||||
|
||||
COPY ./server/conf /app/conf
|
||||
COPY ./server/files /app/conf/files
|
||||
|
||||
|
||||
#TODO 本地打包时使用镜像
|
||||
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
|
||||
RUN apk add --no-cache bash iptables \
|
||||
|
|
Loading…
Reference in New Issue