-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from StochSS/develop
- Loading branch information
Showing
6 changed files
with
65 additions
and
25 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,22 @@ | ||
FROM python:3.11.1-buster | ||
|
||
LABEL authors="Ethan Green <egreen4@unca.edu>, Matthew Dippel <mdip226@gmail.com>" | ||
|
||
# set up virtual environment inside container | ||
ENV VIRTUAL_ENV=/opt/venv | ||
RUN python3 -m venv $VIRTUAL_ENV | ||
# activate the venv | ||
ENV PYTHONPATH="$VIRTUAL_ENV:$PYTHONPATH" | ||
ENV PATH="$VIRTUAL_ENV:$PATH" | ||
# make the venv a volume | ||
VOLUME [ "/opt/venv" ] | ||
|
||
WORKDIR /usr/src/app | ||
|
||
COPY stochss_compute /usr/src/app/stochss_compute | ||
COPY requirements.txt *.py *.md *.dockerfile *.cfg /usr/src/app/ | ||
RUN pip install '.[AWS]' | ||
|
||
EXPOSE 29681 | ||
|
||
CMD [ "stochss-compute-cluster"] |
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
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