mirror of
https://github.com/ION606/ML-pipeline.git
synced 2026-05-14 21:06:54 +00:00
16 lines
294 B
Docker
16 lines
294 B
Docker
|
|
FROM python:3.12-slim
|
||
|
|
|
||
|
|
WORKDIR /app
|
||
|
|
|
||
|
|
# Install system dependencies (AppArmor)
|
||
|
|
RUN apt-get update && apt-get install -y apparmor
|
||
|
|
|
||
|
|
COPY requirements.txt requirements.txt
|
||
|
|
|
||
|
|
RUN pip install -r requirements.txt
|
||
|
|
|
||
|
|
# Copy the entire project
|
||
|
|
COPY . .
|
||
|
|
|
||
|
|
# Run the main application
|
||
|
|
CMD ["python", "main.py"]
|