kdon / Dockerfile
Suprajakshaya's picture
"updated dockerfile"
ae7ed4c verified
raw
history blame
296 Bytes
FROM python:3.10-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
WORKDIR /app/basho_backend
EXPOSE 7860
CMD ["gunicorn", "basho_backend.wsgi:application", "--bind", "0.0.0.0:7860"]