Add docker setup for local testing
This commit is contained in:
parent
2e71447150
commit
d4de6e0b2d
3 changed files with 71 additions and 0 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
FROM python:3.8-slim
|
||||
|
||||
USER root
|
||||
|
||||
RUN mkdir /tmp/build
|
||||
WORKDIR /tmp/build
|
||||
COPY . .
|
||||
RUN SETUPTOOLS_SCM_PRETEND_VERSION=0 pip install .
|
||||
|
||||
WORKDIR /tmp
|
||||
RUN rm -rf /tmp/build
|
||||
|
||||
RUN useradd --system checker
|
||||
USER checker
|
Loading…
Add table
Add a link
Reference in a new issue