Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump python version and fix dash 1.x incompatibility #6

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dash_app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.6.7
FROM python:3.7.7-slim-buster

RUN mkdir -p /home/project/dash_app
WORKDIR /home/project/dash_app
Expand Down
7 changes: 2 additions & 5 deletions dash_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@
server = Flask(__name__)


app = dash.Dash(name='Bootstrap_docker_app',
server=server,
static_folder='static',
csrf_protect=False)
app = dash.Dash(name='Bootstrap_docker_app', server=server)

# Add css, js, container div with id='page-content' and location with id='url'
app = config_app(app, debug=True)
# app = config_app(app, debug=True)

# Generate app layoute with 3 div elements: page-header, page-main, page-footer.
# Content of each div is a function input
Expand Down