You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
308 B
16 lines
308 B
FROM python:3.9-slim-buster
|
|
|
|
WORKDIR /app
|
|
|
|
COPY src /app/src
|
|
COPY requirements.txt /app/
|
|
#COPY setup.py /app/
|
|
|
|
RUN python -m venv venv
|
|
RUN . venv/bin/activate && pip install -r requirements.txt && python setup.py install
|
|
|
|
RUN python -m pytest
|
|
#RUN python setup.py sdist bdist_wheel
|
|
|
|
CMD ["python", "app.py"]
|