13 lines
270 B
Text
13 lines
270 B
Text
|
FROM python:3.12-alpine AS base
|
||
|
|
||
|
RUN apk update && apk upgrade
|
||
|
|
||
|
COPY ./requirements.txt ./requirements.txt
|
||
|
|
||
|
RUN pip install --upgrade pip && pip install -r ./requirements.txt
|
||
|
|
||
|
COPY ./main.py ./main.py
|
||
|
COPY ./entrypoint.sh ./entrypoint.sh
|
||
|
|
||
|
ENTRYPOINT ["./entrypoint.sh"]
|