This repository has been archived by the owner on Jul 2, 2020. It is now read-only.
-
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.
added Dockerfile for Python version of result-processing to allow usa…
…ge of Python 3 in data processors
- Loading branch information
1 parent
2a88bdb
commit 0d8f9e6
Showing
3 changed files
with
33 additions
and
7 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
File renamed without changes.
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,18 @@ | ||
FROM gaiaadm/nodejs-python:3.4.0 | ||
|
||
# Bundle app source | ||
COPY . /src | ||
|
||
# setup.sh script is temporary workaround until Docker adds support for passing ENV variables | ||
# to docker build command to allow setting up proxy | ||
ADD setup.sh /tmp/setup.sh | ||
RUN chmod +x /tmp/setup.sh | ||
RUN /tmp/setup.sh | ||
|
||
# Set the working directory | ||
WORKDIR /src | ||
|
||
RUN grunt jshint | ||
RUN grunt unit | ||
|
||
CMD ["node", "/src/server.js"] |