19 lines
326 B
Docker
19 lines
326 B
Docker
# Statping clone - HTTP/HTTPS and TCP monitoring
|
|
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy application
|
|
COPY app.py .
|
|
COPY app/ app/
|
|
COPY templates/ templates/
|
|
COPY static/ static/
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["python", "-u", "app.py"]
|