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