-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
40 lines (26 loc) · 766 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update && apt upgrade -y
RUN apt install -y libxxf86vm-dev \
software-properties-common -y \
libxrender1 \
libxcursor-dev \
libxi-dev \
libxrandr-dev \
libxinerama-dev \
libegl-dev \
libwayland-dev \
wayland-protocols \
libxkbcommon-dev \
libsm6
RUN add-apt-repository ppa:deadsnakes/ppa -y
RUN apt install -y python3.10 \
python3-pip
WORKDIR /src
COPY ./whl ./tmp/whl
RUN python3 -m pip install ./tmp/whl/bpy-3.6.0-cp310-cp310-manylinux_2_28_x86_64.whl
RUN rm -rf ./tmp/whl/bpy-3.6.0-cp310-cp310-manylinux_2_28_x86_64.whl
COPY ./requirements.txt ./
RUN python3 -m pip install --no-cache-dir -r requirements.txt
COPY ./src ./src
EXPOSE 80