-
Notifications
You must be signed in to change notification settings - Fork 13
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
63c1408
commit 4688ffc
Showing
9 changed files
with
485 additions
and
501 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,23 @@ | ||
# | ||
FROM continuumio/miniconda3 | ||
LABEL maintainer "Doodler, by Dr Daniel Buscombe, Marda Science/USGS <[email protected]>" | ||
WORKDIR / | ||
# The code to run when container is started: | ||
COPY ./ ./ | ||
|
||
COPY install/dashdoodler.yml . | ||
RUN conda env create -f dashdoodler.yml | ||
|
||
# Make RUN commands use the new environment: | ||
SHELL ["conda", "run", "-n", "dashdoodler", "/bin/bash", "-c"] | ||
|
||
EXPOSE 8050/tcp | ||
EXPOSE 8050/udp | ||
EXPOSE 80 | ||
EXPOSE 8080 | ||
|
||
# set environment variables | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
ENTRYPOINT ["conda", "run", "--no-capture-output", "-n", "dashdoodler", "python", "doodler.py"] |
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,6 +1,6 @@ | ||
DEFAULT_PEN_WIDTH = 3 | ||
DEFAULT_CRF_DOWNSAMPLE = 2 | ||
DEFAULT_RF_DOWNSAMPLE = 2 | ||
DEFAULT_CRF_DOWNSAMPLE = 1 | ||
DEFAULT_RF_DOWNSAMPLE = 1 | ||
DEFAULT_CRF_THETA = 1 | ||
DEFAULT_CRF_MU = 1 | ||
DEFAULT_CRF_GTPROB = 0.9 |
Binary file not shown.
Binary file not shown.
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
Oops, something went wrong.