add info to docker-compose file

This commit is contained in:
Devin Neal 2019-04-02 07:22:46 +00:00
parent e6210af9d5
commit a91c0d3bc4

View file

@ -2,8 +2,10 @@ version: '3.1'
services: services:
manim: manim:
image: manim # comment this line if you build the image to prevent overwriting the tag
build: . image: eulertour/manim:latest
# uncomment this line to build rather than pull the image
# build: .
volumes: volumes:
- ${MANIM_PATH:?MANIM_PATH environment variable isn't set}:/opt/manim - ${MANIM_PATH:?MANIM_PATH environment variable isn't set}:/opt/manim
environment: environment:
@ -13,3 +15,4 @@ services:
- python - python
- -m - -m
- manim - manim
network_mode: "none"