mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-12 06:44:04 +02:00
Use ENTRYPOINT and CMD (#482)
This commit is contained in:
parent
85461ea856
commit
eb43e1755e
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -37,7 +37,7 @@ RUN pip3 install $(python3 /app/test_dependencies.py) --use-pep517
|
|||
|
||||
WORKDIR /core
|
||||
|
||||
CMD ["python3", \
|
||||
ENTRYPOINT ["python3", \
|
||||
# Enable Python development mode
|
||||
"-X", "dev", \
|
||||
# Run pytest
|
||||
|
|
@ -59,7 +59,7 @@ CMD ["python3", \
|
|||
# Print logs in color
|
||||
"--color=yes", \
|
||||
# Print a count of test results in the console
|
||||
"-o", "console_output_style=count", \
|
||||
# Run tests in the 'tests/components/adaptive_lighting' directory
|
||||
"tests/components/adaptive_lighting" \
|
||||
]
|
||||
"-o", "console_output_style=count"]
|
||||
|
||||
# Run tests in the 'tests/components/adaptive_lighting' directory
|
||||
CMD ["tests/components/adaptive_lighting"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue