https://github.com/Yixin-Hu/TetWild
Tip revision: 49de8cd85f56de0c6dc7ac3c245a14c3aa68ee67 authored by Yixin Hu on 27 April 2023, 19:09:59 UTC
Update README.md
Update README.md
Tip revision: 49de8cd
Dockerfile
# Use an official Python runtime as a parent image
FROM ubuntu
ENV DEBIAN_FRONTEND=noninteractive
# Install any needed packages specified in requirements.txt
RUN apt-get update && apt-get install -y git cmake g++ libcgal-dev
# Set the working directory to /app
WORKDIR /app
# Download and compile TetWild
RUN git clone https://github.com/Yixin-Hu/TetWild --recursive
WORKDIR /app/TetWild/build
RUN cmake .. && make
WORKDIR /data
ENTRYPOINT ["/app/TetWild/build/TetWild"]
## Create TetWild image with:
# docker build -t tetwild .
## Run TetWild with:
# docker run --rm -v "$(pwd)":/data tetwild [TetWild arguments]