change back to slim image

This commit is contained in:
leehk 2025-04-13 17:32:16 +08:00
parent 212e2a5f95
commit b98f4ba772

View File

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