17 lines
249 B
Docker
17 lines
249 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY app.py .
|
|
COPY templates ./templates
|
|
|
|
ENV PORTAL_BIND_HOST=0.0.0.0
|
|
ENV PORTAL_BIND_PORT=8088
|
|
|
|
EXPOSE 8088
|
|
|
|
CMD ["python", "app.py"]
|