move template to ./template;

setup django middleware;
setup angular frontend;
wire django and angular together;
This commit is contained in:
Marco Zeisler
2020-11-17 19:34:25 +01:00
parent 044a096f54
commit ff4b3508d8
97 changed files with 13737 additions and 6080 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM python:3.8-slim
ENV PYTHONUNBUFFERED 1
RUN apt-get update
RUN apt-get install -y build-essential gcc
RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
RUN python -m pip install --upgrade pip
ENV PATH="/opt/venv/bin:$PATH"
RUN mkdir /code
WORKDIR /code
COPY setup.py /code/
COPY requirements.txt /code/
RUN pip install -r requirements.txt
COPY . /code/