-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (23 loc) · 919 Bytes
/
Dockerfile
File metadata and controls
33 lines (23 loc) · 919 Bytes
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
# Use an official Python runtime as a parent image
FROM python:3.6.6
# Set the working directory to /app
WORKDIR /app
# ViZDoom install apps
RUN apt-get update && apt-get install -y \
build-essential zlib1g-dev libsdl2-dev libjpeg-dev \
nasm tar libbz2-dev libgtk2.0-dev cmake git libfluidsynth-dev libgme-dev \
libopenal-dev timidity libwildmidi-dev unzip
RUN apt-get install -y libboost-all-dev
# requirements only into dir
COPY requirements.txt /app
# Install any needed packages specified in requirements.txt
RUN pip install --trusted-host pypi.python.org -r requirements.txt
# Copy the current directory contents into the container at /app
COPY . /app
# Define environment variable
ENV NAME World
# Move files from examples to above directory
COPY examples/full_test.py /app
COPY examples/sample.yml /app
# Run app.py when the container launches
CMD ["python", "-W ignore","full_test.py"]