This commit is contained in:
Ionel Andrei Cataon
2026-02-12 14:08:00 +02:00
parent 611c31c0a1
commit ddb9425e44
4 changed files with 63 additions and 0 deletions

16
project1/dockerfile Normal file
View File

@@ -0,0 +1,16 @@
# Folosesc o imagine oficiala de Python (Slim)
FROM python:3.11-slim
# 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"]