feat: add basic dockerfile for development
This commit is contained in:
parent
4911012cf4
commit
4c9bdbf239
1 changed files with 17 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM python:3.10
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN python3 -m venv venv
|
||||
|
||||
RUN python3 -m pip install .
|
||||
|
||||
# Run basic test suite
|
||||
RUN python3 -m pip install pytest
|
||||
RUN pytest
|
||||
|
||||
# Run entire test suite
|
||||
RUN python3 -m pip install tox
|
||||
RUN tox
|
||||
Loading…
Add table
Add a link
Reference in a new issue