3M/Dockerfile
2024-07-28 00:11:45 +00:00

10 lines
269 B
Docker

FROM docker.io/python:3.12-alpine
WORKDIR /3m
RUN apk update && apk add git openssl mariadb-connector-c-dev build-base
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
COPY . .
ENTRYPOINT ["/3m/run.sh"]