mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 13:37:22 +00:00
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:
parent
db773e9778
commit
d8cde40b49
@ -8,7 +8,7 @@ COPY ./thirdparty/AccountManager .
|
|||||||
ADD docker/credentials_example.py credentials.py
|
ADD docker/credentials_example.py credentials.py
|
||||||
ADD docker/resources_example.py resources.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
|
EXPOSE 5000
|
||||||
CMD python3 app.py
|
CMD python3 app.py
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM python:3.9.9-slim
|
FROM python:3.9.9-slim
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt-get install curl -y
|
||||||
WORKDIR /empty_dir
|
WORKDIR /empty_dir
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD python -m http.server 80
|
CMD python -m http.server 80
|
||||||
|
Loading…
Reference in New Issue
Block a user