Extend docker-compose.yml to provide a complete dev setup
parent
6564503855
commit
4c0dc9e10e
@ -0,0 +1,17 @@
|
||||
FROM python:3.10-alpine3.17
|
||||
|
||||
RUN apk add --no-cache git
|
||||
|
||||
RUN adduser -h /home/shiftregister -D shiftregister
|
||||
|
||||
USER shiftregister
|
||||
WORKDIR /home/shiftregister
|
||||
|
||||
ENV PATH="$PATH:/home/shiftregister/.local/bin"
|
||||
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
WORKDIR /opt/shiftregister
|
||||
|
||||
EXPOSE 8000
|
Loading…
Reference in New Issue