You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
324 B
Plaintext

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