forked from external-repos/ivatar-docker
14 lines
354 B
Docker
14 lines
354 B
Docker
FROM python:latest
|
|
|
|
WORKDIR /opt/venv
|
|
RUN git clone https://git.linux-kernel.at/oliver/ivatar.git .
|
|
|
|
ENV VIRTUAL_ENV=/opt/venv
|
|
RUN python3 -m venv $VIRTUAL_ENV
|
|
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
|
|
|
RUN /opt/venv/bin/python3 -m pip install --upgrade pip
|
|
RUN pip install pillow && pip install -r requirements.txt
|
|
|
|
CMD ["python", "manage.py runserver 0:8080"]
|