CoolFace
Apppublic

sunilbolishetti/hackathon4a_stage2

sourceHugging Facemitupdated 11mo agoView on Hugging Face
0likes
Dockerfile29 linesDownload Raw Back to root
1FROM python:3.11-bookworm
2
3COPY requirements.txt requirements.txt
4
5RUN apt-get update && apt-get install -y --no-install-recommends \
6      bzip2 \
7      g++ \
8      git \
9      graphviz \
10      libgl1-mesa-glx \
11      libhdf5-dev \
12      openmpi-bin \
13      wget \
14      python3-tk && \
15    rm -rf /var/lib/apt/lists/*
16
17RUN pip install --upgrade pip
18
19RUN pip install --no-cache-dir -r requirements.txt
20
21RUN useradd -m -u 1000 myuser
22
23USER myuser
24
25COPY --chown=myuser app app
26
27EXPOSE 8001
28
29CMD ["python", "app/main.py"]