You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Separate postgres and redis volume for dev and test. Run container as node user. Add cors support
Run as root when setting up image, run as node before starting app. Set image build stage to release. Add files to dockerignore
Build image
Copy files from host to image
Set image owner to node
* Run as user node. Add prettier ignore
Do not use cache when running ci test
Do not run nyc in ci test
Remove --no-cache
* Copy from base image in test image. Run test with nyc
Copy from base image in test image. Run test with nyc
Do not run nyc in test due to mkdir permission error
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,4 +157,5 @@ Each key contains 6 characters.
157
157
* URL shortening: Check if URL is stored in the database. If it is, return the short url
158
158
* Key generation: do not check against the database for existing short urls because there can still be a conflict due to concurrency. Let the database handle the conflict
159
159
* Handle expired keys
160
-
* load test with multiple instances of API service and database
0 commit comments