17 lines
390 B
Docker
17 lines
390 B
Docker
|
# 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 . .
|