fix component structure

This commit is contained in:
Marco Zeisler
2021-04-10 16:09:22 +02:00
parent e3542eefb0
commit 8874135774
37 changed files with 74 additions and 47 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/