mirror of
https://github.com/docker-training/node-bulletin-board.git
synced 2025-05-17 11:39:30 +08:00
Add healthcheck & fix mime map
This commit is contained in:
parent
1f2cae4e4b
commit
0cb076570a
@ -7,4 +7,6 @@ RUN npm install
|
||||
EXPOSE 8080
|
||||
CMD [ "npm", "start" ]
|
||||
|
||||
COPY . .
|
||||
COPY . .
|
||||
|
||||
HEALTHCHECK CMD curl --fail http://localhost:8080 || exit 1
|
@ -27,7 +27,7 @@ http {
|
||||
text/css 1M;
|
||||
text/javascript 1M;
|
||||
application/javascript 1M;
|
||||
application/x-font-woff £M;
|
||||
application/x-font-woff 3M;
|
||||
~image/ 6M;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user