mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 08:13:20 +08:00
udpate
This commit is contained in:
parent
a1977ce654
commit
6771764e6a
8
.github/workflows/develop.yml
vendored
8
.github/workflows/develop.yml
vendored
@ -16,10 +16,6 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Maximize build space
|
|
||||||
uses: easimon/maximize-build-space@master
|
|
||||||
with:
|
|
||||||
remove-dotnet: 'true'
|
|
||||||
- name: Check disk space
|
- name: Check disk space
|
||||||
run: df -h
|
run: df -h
|
||||||
- name: Cleanup Docker resources
|
- name: Cleanup Docker resources
|
||||||
@ -64,10 +60,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: Maximize build space
|
|
||||||
uses: easimon/maximize-build-space@master
|
|
||||||
with:
|
|
||||||
remove-dotnet: 'true'
|
|
||||||
- name: Check disk space
|
- name: Check disk space
|
||||||
run: df -h
|
run: df -h
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
###########
|
###########
|
||||||
|
|
||||||
# pull official base image
|
# pull official base image
|
||||||
FROM python:3.11-slim-bookworm AS builder
|
FROM python:3.11-alpine AS builder
|
||||||
|
|
||||||
|
|
||||||
# set working directory
|
# set working directory
|
||||||
@ -35,7 +35,7 @@ COPY . /usr/src/app
|
|||||||
#########
|
#########
|
||||||
|
|
||||||
# pull official base image
|
# pull official base image
|
||||||
FROM python:3.11-slim-bookworm
|
FROM python:3.11-alpine
|
||||||
|
|
||||||
# create directory for the app user
|
# create directory for the app user
|
||||||
RUN mkdir -p /home/app
|
RUN mkdir -p /home/app
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user