Commit 2b0e3a3a authored by Tim Schoof's avatar Tim Schoof
Browse files

Create docker image for workers

parent eb9833f4
\ No newline at end of file
FROM schooft/asapo-client-base
WORKDIR /asapo/lib
RUN pip3 install attrs==19.3 pytest
COPY LICENSE setup.cfg ./
COPY src/ src/
COPY tests/ tests/
RUN pip3 install .
\ No newline at end of file
docker build -t ${NAME} . \
&& docker run -it ${NAME} python3 -m pytest || exit 1
if [[ $1 == "push" ]]; then
docker push ${NAME}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment