This commit is contained in:
leehk 2025-04-13 13:28:29 +08:00
parent a1977ce654
commit 6771764e6a
2 changed files with 2 additions and 10 deletions

View File

@ -16,10 +16,6 @@ jobs:
contents: read
packages: write
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
remove-dotnet: 'true'
- name: Check disk space
run: df -h
- name: Cleanup Docker resources
@ -64,10 +60,6 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
remove-dotnet: 'true'
- name: Check disk space
run: df -h
- name: Checkout

View File

@ -3,7 +3,7 @@
###########
# pull official base image
FROM python:3.11-slim-bookworm AS builder
FROM python:3.11-alpine AS builder
# set working directory
@ -35,7 +35,7 @@ COPY . /usr/src/app
#########
# pull official base image
FROM python:3.11-slim-bookworm
FROM python:3.11-alpine
# create directory for the app user
RUN mkdir -p /home/app