-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c14560
commit e059b8d
Showing
3 changed files
with
48 additions
and
29 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM python:3.9 | ||
|
||
WORKDIR /app | ||
|
||
RUN python3 -m pip install --upgrade pip setuptools && \ | ||
python3 -m pip install gunicorn | ||
|
||
COPY setup.py . | ||
|
||
# Install only the dependencies | ||
RUN python setup.py egg_info && \ | ||
pip install -r *.egg-info/requires.txt && \ | ||
rm -rf *.egg-info/ | ||
|
||
COPY . . | ||
|
||
RUN pip install .[demo] | ||
|
||
EXPOSE 8097 | ||
|
||
CMD ["gunicorn", "--bind", "0.0.0.0:8097", "demo.app:server"] |
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 |
---|---|---|
|
@@ -32,6 +32,7 @@ | |
'dash', | ||
'dash_daq', | ||
'jupyter-dash', | ||
'pandas', | ||
'pyarrow', # to support parquet files | ||
] | ||
} | ||
|