Docker related drafts

This commit is contained in:
zorn
2024-12-27 17:35:52 +10:00
parent ad5c0e699d
commit 9348942b7c
8 changed files with 62 additions and 17 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM python:3.12-alpine
COPY requirements.txt /
RUN set -ex ;\
apk add --no-cache musl-dev mariadb-connector-c-dev gcc ;\
pip3 install -r /requirements.txt ;\
pip3 cache purge ;\
apk del --rdepends --purge musl-dev gcc
WORKDIR /app