15 lines
263 B
Docker
15 lines
263 B
Docker
FROM python:3.11-slim-bullseye
|
|
|
|
WORKDIR /app
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-compile --no-cache-dir -r requirements.txt
|
|
|
|
COPY . /app
|
|
|
|
EXPOSE 5000
|
|
|
|
CMD ["python", "./Backend/app.py"] |