Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FS-SC
AsapoWorker
Commits
2b0e3a3a
Commit
2b0e3a3a
authored
Mar 31, 2020
by
Tim Schoof
Browse files
Create docker image for workers
parent
eb9833f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
.dockerignore
0 → 100644
View file @
2b0e3a3a
*
!src
!tests
!LICENSE
!README.md
!setup.cfg
!setup.py
\ No newline at end of file
Dockerfile
0 → 100644
View file @
2b0e3a3a
FROM
schooft/asapo-client-base
WORKDIR
/asapo/lib
RUN
pip3
install
attrs
==
19.3 pytest
COPY
LICENSE README.md setup.cfg setup.py ./
COPY
src/ src/
COPY
tests/ tests/
RUN
pip3
install
.
\ No newline at end of file
build.sh
0 → 100644
View file @
2b0e3a3a
NAME
=
schooft/asapo-worker
docker build
-t
${
NAME
}
.
\
&&
docker run
-it
${
NAME
}
python3
-m
pytest
||
exit
1
if
[[
$1
==
"push"
]]
;
then
docker push
${
NAME
}
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment