install curl
This commit is contained in:
parent
cbf4c566b0
commit
b2184eb5c3
|
@ -8,6 +8,7 @@ ENV WORKING_DIR=/app
|
||||||
WORKDIR ${WORKING_DIR}
|
WORKDIR ${WORKING_DIR}
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
RUN apt-get install curl -y
|
||||||
RUN apt-get install python3-pip -y
|
RUN apt-get install python3-pip -y
|
||||||
RUN apt-get install python3-poetry -y
|
RUN apt-get install python3-poetry -y
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ services:
|
||||||
expose:
|
expose:
|
||||||
- "8000"
|
- "8000"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: curl -f http://localhost:8000/ || exit 1
|
test: curl -f http://localhost:8000 || exit 1
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
retries: 20
|
retries: 20
|
||||||
|
|
Loading…
Reference in New Issue