mirror of https://github.com/bjdgyc/anylink.git
修改 docker 编译
This commit is contained in:
parent
cd5652215f
commit
10a335dc3d
|
@ -29,8 +29,8 @@ jobs:
|
||||||
# cache-dependency-path: 'server/go.sum'
|
# cache-dependency-path: 'server/go.sum'
|
||||||
# - name: Build web
|
# - name: Build web
|
||||||
# working-directory: web
|
# working-directory: web
|
||||||
# run: |
|
# run: |
|
||||||
# yarn install
|
# yarn install
|
||||||
# yarn run build
|
# yarn run build
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
|
@ -62,7 +62,9 @@ jobs:
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
push: false
|
push: true
|
||||||
|
#cache-from: type=gha,mode=max
|
||||||
|
#cache-to: type=gha,mode=max
|
||||||
context: .
|
context: .
|
||||||
file: ./docker/Dockerfile
|
file: ./docker/Dockerfile
|
||||||
#platforms: linux/amd64,linux/arm64
|
#platforms: linux/amd64,linux/arm64
|
||||||
|
|
|
@ -44,6 +44,7 @@ COPY ./home /app/home
|
||||||
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
|
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
|
||||||
RUN apk add --no-cache bash iptables iproute2\
|
RUN apk add --no-cache bash iptables iproute2\
|
||||||
&& chmod +x /app/docker_entrypoint.sh \
|
&& chmod +x /app/docker_entrypoint.sh \
|
||||||
|
&& mkdir /app/log \
|
||||||
&& ls /app
|
&& ls /app
|
||||||
|
|
||||||
EXPOSE 443 8800
|
EXPOSE 443 8800
|
||||||
|
|
Loading…
Reference in New Issue