Mercurial > code > home > repos > homeauto
annotate service/tinyScreen/Dockerfile @ 1754:92999dfbf321 default tip
add shelly support
author | drewp@bigasterisk.com |
---|---|
date | Tue, 04 Jun 2024 13:03:43 -0700 |
parents | 5fc79536885a |
children |
rev | line source |
---|---|
388
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
1 FROM bang6:5000/base_x86 |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
2 |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
3 WORKDIR /opt |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
4 |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
5 COPY requirements.txt ./ |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
6 RUN pip install -r requirements.txt |
393
5fc79536885a
fix screen timing corruption, hopefully. add py client
drewp@bigasterisk.com
parents:
388
diff
changeset
|
7 RUN pip install pygame |
388
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
8 |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
9 COPY font ./font |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
10 COPY anim ./anim |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
11 COPY *.py *.html ./ |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
12 |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
13 EXPOSE 11013 |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
14 |
c146fa2bc7d4
tinyscreen can flip images and render news
drewp@bigasterisk.com
parents:
diff
changeset
|
15 CMD [ "python", "./tiny_screen.py" ] |