2
0
Fork 0
shiftregister/Dockerfile-dev

18 lines
324 B
Plaintext
Raw Normal View History

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