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.

16 lines
279 B
Docker

3 years ago
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
ENTRYPOINT ["gunicorn", "shiftregister.wsgi"]