Mercurial > code > home > repos > homeauto
diff 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 |
line wrap: on
line diff
--- a/service/powerEagle/Dockerfile Tue Mar 29 21:41:32 2022 -0700 +++ b/service/powerEagle/Dockerfile Sun Apr 24 02:15:30 2022 -0700 @@ -1,15 +1,8 @@ -FROM bang5:5000/base_x86 +FROM bang5:5000/base_basic WORKDIR /opt - -COPY requirements.txt ./ - -RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt -# not sure why this doesn't work from inside requirements.txt -RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' +RUN apt-get install -y libpython3.10-dev +COPY .pdm.toml pdm.lock pyproject.toml ./ +RUN pdm sync -v COPY *.py *.html ./ - -EXPOSE 10016 - -CMD [ "python3", "reader.py" ]