-
Notifications
You must be signed in to change notification settings - Fork 176
/
Dockerfile
24 lines (16 loc) · 612 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
FROM pmariglia/gambit-docker as debian-with-gambit
FROM python:3.8-slim
COPY --from=debian-with-gambit /usr/local/bin/gambit-enummixed /usr/local/bin
WORKDIR /showdown
COPY requirements.txt /showdown/requirements.txt
COPY requirements-docker.txt /showdown/requirements-docker.txt
RUN pip3 install -r requirements.txt
RUN pip3 install -r requirements-docker.txt
COPY config.py /showdown/config.py
COPY constants.py /showdown/constants.py
COPY data /showdown/data
COPY run.py /showdown/run.py
COPY showdown /showdown/showdown
COPY teams /showdown/teams
ENV PYTHONIOENCODING=utf-8
CMD ["python3", "run.py"]