Skip to content

Commit

Permalink
修改 docker 编译
Browse files Browse the repository at this point in the history
  • Loading branch information
bjdgy committed Jan 29, 2024
1 parent cd56522 commit 10a335d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
# cache-dependency-path: 'server/go.sum'
# - name: Build web
# working-directory: web
# run: |
# yarn install
# run: |
# yarn install
# yarn run build

- name: Set up QEMU
Expand Down Expand Up @@ -62,7 +62,9 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
push: false
push: true
#cache-from: type=gha,mode=max
#cache-to: type=gha,mode=max
context: .
file: ./docker/Dockerfile
#platforms: linux/amd64,linux/arm64
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 apk add --no-cache bash iptables iproute2\
&& chmod +x /app/docker_entrypoint.sh \
&& mkdir /app/log \
&& ls /app

EXPOSE 443 8800
Expand Down

0 comments on commit 10a335d

Please sign in to comment.