areaplanner / Dockerfile
iplotnor's picture
Update Dockerfile
b990369 verified
raw
history blame contribute delete
245 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PORT=7860
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
EXPOSE 7860
CMD ["sh", "-c", "python app.py"]