comparison 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
comparison
equal deleted inserted replaced
1727:23e6154e6c11 1728:81aa0873b48d
1 FROM bang5:5000/base_x86 1 FROM bang5:5000/base_basic
2 2
3 WORKDIR /opt 3 WORKDIR /opt
4 4 RUN echo 2023-03-01 && apt update
5 RUN apt-get install -y libxml2-dev libxslt1-dev 5 RUN apt-get install -y libxml2-dev libxslt1-dev
6 6
7 COPY requirements.txt ./ 7 COPY pyproject.toml pdm.lock ./
8 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt 8 RUN pdm sync
9 # not sure why this doesn't work from inside requirements.txt
10 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'
11 9
12 COPY *.py *.n3 *.html *.js *.mustache ./ 10 COPY *.py *.n3 ./
13 COPY build/ ./build
14 11
15 EXPOSE 9070
16
17 CMD [ "python3", "wifi.py" ]