lot1-kickoff/components/curationdb/Dockerfile

12 lines
333 B
Docker
Executable File

#!/usr/bin/env -S docker build . --tag=gbloisi/curation:1.0.0 --platform linux/amd64 --push --network=host --file
FROM python:3.12-slim-bullseye
COPY requirements.txt /
RUN python -m pip install --upgrade -r /requirements.txt
COPY antispam-batch.py blacklist.txt curation-rest.py /
# Run the server
CMD python3 /curation-rest.py