Fix unhealthy docker containers (#574)

* Add curl to brickfix dockerfile.

* Add curl to AccountManager docker.

* Fix issue preventing container from building.
This commit is contained in:
Shane Clark 2022-06-11 18:31:58 -06:00 committed by GitHub
parent db773e9778
commit d8cde40b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,7 @@ COPY ./thirdparty/AccountManager .
ADD docker/credentials_example.py credentials.py
ADD docker/resources_example.py resources.py
RUN apk add libffi-dev build-base --no-cache && pip3 install -r requirements.txt
RUN apk add curl libffi-dev build-base --no-cache && pip3 install -r requirements.txt
EXPOSE 5000
CMD python3 app.py

View File

@ -1,5 +1,7 @@
# syntax=docker/dockerfile:1
FROM python:3.9.9-slim
RUN apt-get update && \
apt-get install curl -y
WORKDIR /empty_dir
EXPOSE 80
CMD python -m http.server 80