This commit is contained in:
Ionel Andrei Cataon
2026-02-12 14:53:26 +02:00
parent 7960479684
commit e917af1300
2 changed files with 1 additions and 1 deletions

15
project1/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM python:3.11
# Setez directorul de lucru in container
WORKDIR /the/workdir/path
# Copiez fisierul de requirements in container
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copiez restul codului sursa in container
COPY checker.py .
# Comanda de rulare a aplicatiei
CMD ["python", "checker.py"]