for some reason I dockerized it and it works

This commit is contained in:
2019-12-13 17:35:06 -08:00
parent 4a9e328884
commit 79e8b9874b
7 changed files with 158 additions and 32 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
from ubuntu:18.04
RUN apt -y update && \
apt -y install build-essential pkg-config ninja-build python3 python3-pip python3-dev mpich
RUN pip3 install meson numpy tensorflow flask cython
RUN mkdir /workspace
COPY bridge.pyx library.py server.py meson.build main.c /workspace/
RUN cd /workspace && meson build && cd build && ninja
WORKDIR /workspace