-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(notebookviewer): upgrade dependencies to resolve ECR scan findings
- Loading branch information
1 parent
21166da
commit 31caa02
Showing
5 changed files
with
35 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
ARG REGISTRY | ||
FROM ${REGISTRY}python:3.9.1 | ||
FROM ${REGISTRY}python:3.13.1-alpine | ||
|
||
RUN mkdir -p /usr/src/app | ||
RUN apt-get update | ||
RUN apk update | ||
RUN apk upgrade | ||
|
||
WORKDIR /usr/src/app | ||
|
||
COPY . . | ||
|
||
RUN pip install -r requirements.txt | ||
|
||
CMD python -m flask run --host=0.0.0.0 --port 8080 | ||
CMD ["gunicorn", "-b", "0.0.0.0:8080", "app:app"] | ||
|
||
EXPOSE 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# mEditor Notebook Viewer | ||
|
||
This Flask API expects receives a NASA-hosted Jupyter Notebook URL at `/meditor/notebookviewer/?notebookUrl={URL}` and renders the static Jupyter Notebook. It's used to serve content on the GES DISC website. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Flask==2.1.2 | ||
Jinja2==3.1.2 | ||
nbconvert==7.2.7 | ||
nbformat==5.7.1 | ||
Werkzeug==2.3.7 | ||
Flask==3.1.0 | ||
Jinja2==3.1.4 | ||
nbconvert==7.16.4 | ||
nbformat==5.10.4 | ||
gunicorn==23.0.0 |