2
0
Fork 0
shiftregister/Dockerfile

16 lines
301 B
Docker
Raw Normal View History

2022-04-13 10:14:13 +02:00
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 . .
RUN python manage.py collectstatic
EXPOSE 8000
2022-04-13 10:24:30 +02:00
ENTRYPOINT ["gunicorn", "shiftregister.wsgi", "-b", "0.0.0.0:8000"]