15 lines
246 B
Docker
15 lines
246 B
Docker
FROM python:3.10-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./requirements.txt /app
|
|
|
|
RUN apt-get update && apt-get install -y build-essential
|
|
RUN pip install --upgrade pip
|
|
RUN pip install -r requirements.txt
|
|
|
|
EXPOSE 8000
|
|
|
|
COPY . /app
|
|
|
|
CMD ["python", "src/app.py"]
|