wg-backend-django/Dockerfile

12 lines
293 B
Docker
Raw Permalink Normal View History

2022-11-24 09:18:47 -05:00
FROM python:3.11.0-alpine
WORKDIR /usr/src/app
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONBUFFERED 1
RUN pip install --upgrade pip
COPY ./requirements.txt /usr/src/app
RUN pip install -r requirements.txt
COPY . /usr/src/app
2022-11-24 09:54:18 -05:00
EXPOSE 8080
CMD ["python", "manage.py", "runserver", "0.0.0.0:8080"]
2022-11-24 09:18:47 -05:00