Mercurial > code > home > repos > homeauto
diff service/wifi/Dockerfile @ 1728:81aa0873b48d
port to skaffold, starlette, etc
author | drewp@bigasterisk.com |
---|---|
date | Fri, 30 Jun 2023 22:03:55 -0700 |
parents | f88ff1021ee0 |
children |
line wrap: on
line diff
--- a/service/wifi/Dockerfile Tue Jun 20 23:26:24 2023 -0700 +++ b/service/wifi/Dockerfile Fri Jun 30 22:03:55 2023 -0700 @@ -1,17 +1,11 @@ -FROM bang5:5000/base_x86 +FROM bang5:5000/base_basic WORKDIR /opt - +RUN echo 2023-03-01 && apt update RUN apt-get install -y libxml2-dev libxslt1-dev -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 --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -U 'https://github.com/drewp/cyclone/archive/python3.zip?v2' +COPY pyproject.toml pdm.lock ./ +RUN pdm sync -COPY *.py *.n3 *.html *.js *.mustache ./ -COPY build/ ./build +COPY *.py *.n3 ./ -EXPOSE 9070 - -CMD [ "python3", "wifi.py" ]