mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
tests: Move CMD from Dockerfile to docker-compose.yml
This makes it easier to change the command (e.g. to add `-s`) as we don't need to tell docker-compose to rebuild the image and container.
This commit is contained in:
parent
09b6617791
commit
c0285cceef
2 changed files with 1 additions and 2 deletions
|
@ -33,5 +33,3 @@ ADD requirements.txt requirements.txt
|
|||
RUN pip3 install -r requirements.txt
|
||||
RUN mkdir /root/.vim/bundle/taskwiki
|
||||
WORKDIR /root/.vim/bundle/taskwiki
|
||||
|
||||
CMD xvfb-run python3 -m pytest -vv tests/
|
||||
|
|
|
@ -8,3 +8,4 @@ services:
|
|||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
tty: true
|
||||
command: xvfb-run python3 -m pytest -vv tests/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue