19 lines
299 B
Docker
19 lines
299 B
Docker
FROM python:3.13-slim
|
|
|
|
WORKDIR /app/code
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1 \
|
|
PIP_NO_CACHE_DIR=1
|
|
|
|
COPY requirements.txt /app/code/
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . /app/code
|
|
|
|
RUN chmod +x /app/code/start.sh
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["/app/code/start.sh"]
|