guild-journal/Dockerfile

14 lines
240 B
Docker
Raw Permalink Normal View History

2023-06-13 18:35:41 +00:00
FROM python:3.11-alpine
2023-06-13 19:14:02 +00:00
ENV PYTHONUNBUFFERED 1
2023-06-13 18:35:41 +00:00
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
2023-06-13 20:09:25 +00:00
RUN python manage.py collectstatic --noinput
2023-06-13 18:35:41 +00:00
CMD ["gunicorn", "-b", "0.0.0.0:8000", "guild_journal.wsgi"]