adding task files
هذا الالتزام موجود في:
21
q5-mithal-monitor/Dockerfile
Normal file
21
q5-mithal-monitor/Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM python:3.11-slim AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --no-cache-dir \
|
||||
--prefix=/install \
|
||||
-r requirements.txt
|
||||
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /install /usr/local
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["python3", "-m", "http.server", "8000", "--directory", "/app"]
|
||||
المرجع في مشكلة جديدة
حظر مستخدم