chore: add -short flag to test command in Dockerfile
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ ENV RATE_LIMIT_ENABLED=false
|
|||||||
ENV REQUESTS_PER_MINUTE=1000
|
ENV REQUESTS_PER_MINUTE=1000
|
||||||
|
|
||||||
# Default command for running tests
|
# Default command for running tests
|
||||||
CMD ["go", "test", "./cmd/server/tests", "-v", "-timeout", "5m", "-parallel=1"]
|
CMD ["go", "test", "./cmd/server/tests", "-v", "-timeout", "5m", "-parallel=1", "-short"]
|
||||||
|
|
||||||
# Final stage
|
# Final stage
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user