2
0
Fork 0
shiftregister/Dockerfile

15 lines
246 B
Docker

FROM python:3.10-alpine3.15
WORKDIR /opt/shiftregister
RUN pip install --no-cache-dir gunicorn
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
ENTRYPOINT ["/opt/shiftregister/entrypoint.sh"]