Skip to content

Commit

Permalink
fix(framework:skip) Fix Docker Compose example
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Steiner <[email protected]>
  • Loading branch information
Robert-Steiner committed Sep 26, 2024
1 parent 42e1460 commit a42cb43
Show file tree
Hide file tree
Showing 5 changed files with 624 additions and 405 deletions.
11 changes: 5 additions & 6 deletions examples/flower-via-docker-compose/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use an official Python runtime as a parent image
FROM python:3.10-slim-buster
FROM python:3.11-slim-buster

# Set the working directory in the container to /app
WORKDIR /app
Expand All @@ -10,10 +10,9 @@ COPY ./requirements.txt /app/requirements.txt
# Install gcc and other dependencies
RUN apt-get update && apt-get install -y \
gcc \
python3-dev && \
rm -rf /var/lib/apt/lists/*
pkg-config \
libhdf5-dev \
&& rm -rf /var/lib/apt/lists/*

# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt


RUN pip install --no-cache-dir -r requirements.txt
5 changes: 0 additions & 5 deletions examples/flower-via-docker-compose/config/grafana.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
[security]
allow_embedding = true
admin_user = admin
admin_password = admin

[dashboards]
default_home_dashboard_path = /etc/grafana/provisioning/dashboards/dashboard_index.json

Expand Down
Loading

0 comments on commit a42cb43

Please sign in to comment.