docker updated

This commit is contained in:
Srinadh kesineni
2025-05-12 21:44:26 +05:30
parent c8055a28a2
commit fa769db2d4
+4 -2
View File
@@ -1,11 +1,13 @@
FROM python:3.10-slim FROM python:3.10-slim
# update packages, install git and remove cache
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app
COPY requirements.txt . COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
COPY . . COPY . .
CMD ["python"] ENTRYPOINT ["python", "main.py"]