aws_faktury/Dockerfile
dzikafoczka c7bbd6eb92 faktury
2024-12-21 21:50:28 +01:00

25 lines
391 B
Docker

FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade -y \
&& apt-get install -y \
python3 \
python3-pip \
python3-dev \
libpoppler-cpp-dev \
build-essential \
curl \
git \
&& apt-get clean
RUN pip3 install --no-cache-dir Flask PyMuPDF
WORKDIR /app
COPY . /app
EXPOSE 8080
CMD ["python3", "invoice_service.py"]