Mercurial > code > home > repos > homeauto
comparison service/powerEagle/Dockerfile @ 1714:4cbe3df8f48f
rewrite to use starlette/etc
author | drewp@bigasterisk.com |
---|---|
date | Sun, 24 Apr 2022 02:15:30 -0700 |
parents | e8654a3bd1c7 |
children | daf9deee42ca |
comparison
equal
deleted
inserted
replaced
1713:e9ac7f52849e | 1714:4cbe3df8f48f |
---|---|
1 FROM bang5:5000/base_x86 | 1 FROM bang5:5000/base_basic |
2 | 2 |
3 WORKDIR /opt | 3 WORKDIR /opt |
4 | 4 RUN apt-get install -y libpython3.10-dev |
5 COPY requirements.txt ./ | 5 COPY .pdm.toml pdm.lock pyproject.toml ./ |
6 | 6 RUN pdm sync -v |
7 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt | |
8 # not sure why this doesn't work from inside requirements.txt | |
9 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' | |
10 | 7 |
11 COPY *.py *.html ./ | 8 COPY *.py *.html ./ |
12 | |
13 EXPOSE 10016 | |
14 | |
15 CMD [ "python3", "reader.py" ] |