2
0
Fork 0
shiftregister/Dockerfile-dev

16 lines
296 B
Plaintext
Raw Permalink Normal View History

FROM python:3.12-alpine3.19
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