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
301 B
Docker
16 lines
301 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 . .
|
|
RUN python manage.py collectstatic
|
|
|
|
EXPOSE 8000
|
|
|
|
ENTRYPOINT ["gunicorn", "shiftregister.wsgi", "-b", "0.0.0.0:8000"]
|