Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 8bc1431

Browse files
committed
fix test
1 parent 6a422b6 commit 8bc1431

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ build/phplint.cache
2727
/git_push.sh
2828
/test-requirements.txt
2929
/.env
30+
/.idea/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ COPY --from=composer /app /app
1919

2020
VOLUME /app/data
2121

22-
CMD ["php", "./__tests__/index.php"]
22+
CMD ["php", "-S", "0.0.0.0:5050", "./__tests__/index.php"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ Class | Method | HTTP request | Description
882882

883883
1. Copy `.env.example` to `.env` and fill in the values.
884884
2. Run `docker build -t php .` to build the image.
885-
3. Run `docker run --rm php` to run the tests and delete container immediately after.
885+
3. Run `docker run -p 5050:5050 --rm php` to run the tests and delete container immediately after.
886886

887887
## Author
888888

0 commit comments

Comments
 (0)