dockerfile 432 Bytes
Newer Older
kihoon.lee's avatar
upload  
kihoon.lee committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM nvidia/cuda:12.1.0-devel-ubuntu22.04

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        python3.10 \
        python3-pip \
        openmpi-bin \
        libopenmpi-dev \
        python3-dev \
        build-essential && \
    rm -rf /var/lib/apt/lists/*

COPY ./requirements.txt /requirements.txt

RUN pip3 install -r requirements.txt

EXPOSE 80
EXPOSE 8080 

COPY ./ ./
CMD ["python3", "app.py"]