BA-Chatbot/backend/Dockerfile

17 lines
390 B
Docker
Raw Permalink Normal View History

2023-11-15 14:28:48 +01:00
# syntax=docker/dockerfile:1
FROM python:3.10.12-slim
WORKDIR /home/user/
ENV FLASK_APP=app.py
COPY requirements.txt requirements.txt
RUN apt-get update && apt-get install -y\
git\
wget\
curl \
pkg-config \
cmake \
g++ \
poppler-utils && \
rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
COPY . .