mirror of
https://github.com/traberph/mensa-check.git
synced 2026-10-06 10:14:46 +00:00
change base image to reduce image size
Signed-off-by: Philipp Traber <philipp.traber@uni-konstanz.de>
This commit is contained in:
+3
-4
@@ -1,7 +1,6 @@
|
||||
FROM python:3.12
|
||||
FROM python:3.12-alpine
|
||||
WORKDIR /app
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt --no-cache-dir
|
||||
COPY src/ .
|
||||
CMD [ "fastapi", "run", "api.py" ]
|
||||
Reference in New Issue
Block a user