mirror of
https://github.com/cupcakearmy/tumbo.git
synced 2024-12-23 00:36:26 +00:00
13 lines
244 B
Docker
13 lines
244 B
Docker
|
FROM python:{{ python_version }}-{{base_image}}
|
||
|
|
||
|
RUN pip install termcolor=={{ package_version }}
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
{% if package_version == '1.1.0' %}
|
||
|
COPY ./new.py main.py
|
||
|
{% else %}
|
||
|
COPY ./old.py main.py
|
||
|
{% endif %}
|
||
|
|
||
|
CMD [ "python", "main.py" ]
|