mirror of
https://github.com/docker-training/node-bulletin-board.git
synced 2025-12-13 06:16:43 +08:00
Add healthcheck & fix mime map
This commit is contained in:
@@ -7,4 +7,6 @@ RUN npm install
|
||||
EXPOSE 8080
|
||||
CMD [ "npm", "start" ]
|
||||
|
||||
COPY . .
|
||||
COPY . .
|
||||
|
||||
HEALTHCHECK CMD curl --fail http://localhost:8080 || exit 1
|
||||
Reference in New Issue
Block a user