mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 06:56:18 -05:00
Installing curl into archive container so health check works.
This commit is contained in:
parent
d4f09e057e
commit
7807c44fad
2 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ services:
|
|||
ports:
|
||||
- '8083:8080'
|
||||
healthcheck:
|
||||
test: [ 'CMD-SHELL', 'curl http://0.0.0.0:8080/' ]
|
||||
test: [ 'CMD-SHELL', 'curl http://127.0.0.1:8080/' ]
|
||||
|
||||
app:
|
||||
depends_on:
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ WORKDIR /app
|
|||
|
||||
# Install Python for main.py
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
RUN apk add --update --no-cache python3 python3-dev && ln -sf python3 /usr/bin/python
|
||||
RUN apk add --update --no-cache python3 python3-dev curl && ln -sf python3 /usr/bin/python
|
||||
RUN python3 -m ensurepip
|
||||
RUN pip3 install --no-cache --upgrade pip setuptools
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue