-
Notifications
You must be signed in to change notification settings - Fork 390
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
8b14de1
commit 57f3721
Showing
7 changed files
with
58 additions
and
6 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
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
FROM node:10.16.0-alpine as node_build | ||
|
||
RUN set -eux \ | ||
; apk add git | ||
|
||
COPY . /workspace | ||
|
||
WORKDIR /workspace/frontend | ||
RUN set -eux \ | ||
; yarn install --frozen-lockfile \ | ||
; yarn list --depth=0 \ | ||
; yarn run lint \ | ||
; yarn run format \ | ||
; git diff --name-status ./static \ | ||
; git diff-files --quiet ./static || (echo 'The files above have not been formatted!' && (exit 1)) \ | ||
; yarn run test \ | ||
; ls -lah node_modules \ | ||
; yarn run build | ||
|
||
FROM continuumio/anaconda:latest as python_build | ||
|
||
COPY --from=node_build /workspace /workspace | ||
|
||
ENV PATH="/opt/conda/bin/:${PATH}" | ||
|
||
WORKDIR /workspace | ||
RUN set -eux \ | ||
; pip install six \ | ||
; pip install lxml \ | ||
; pip install black \ | ||
; pip install -r docs/source/requirements.txt \ | ||
; python setup.py develop \ | ||
; python setup.py build_sphinx \ | ||
; black --check setup.py dtale tests \ | ||
; export TZ=America/New_York \ | ||
; python setup.py test \ | ||
; python setup.py bdist_egg | ||
|
||
FROM continuumio/anaconda:latest | ||
|
||
COPY --from=python_build /workspace/dist/*.egg /app/ | ||
|
||
WORKDIR /app | ||
|
||
RUN set -eux \ | ||
; . /root/.bashrc \ | ||
; easy_install "dtale-${VERSION}-py3.11.egg" |
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,2 +1,2 @@ | ||
VERSION=3.2.0 | ||
VERSION=3.3.0 | ||
TZ=America/New_York |
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