13 lines
260 B
Docker
13 lines
260 B
Docker
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
|
|
|
|
WORKDIR /action
|
|
|
|
COPY ./main.py ./main.py
|
|
|
|
ENTRYPOINT ["python", "/action/main.py"]
|