improve dockerization
This commit is contained in:
@@ -35,4 +35,8 @@ COPY . .
|
||||
EXPOSE 3630
|
||||
|
||||
# Run the application.
|
||||
# Run the application.
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:3630/api/watchlist || exit 1
|
||||
|
||||
CMD npm start
|
||||
|
||||
Reference in New Issue
Block a user