-
Notifications
You must be signed in to change notification settings - Fork 385
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
8d5be1d
commit 944ce9f
Showing
1 changed file
with
21 additions
and
0 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 @@ | ||
## To test an Analyzer of Responder with docker: | ||
# | ||
# Copy this file in the folder of an analyzer or a responder and name it Dockerfile | ||
## edit it and Change variables | ||
# | ||
# - {workername} by the folder name of the analyzer or responder | ||
# - {command} by the value of the `command` in a JSON file | ||
# | ||
# Save and run: | ||
# | ||
# docker build -t cortexneurons/{flavor_name}:devel with {flavor_name} the name of the analyzer of responder in the JSON file | ||
# | ||
# | ||
|
||
|
||
|
||
FROM python:3 | ||
WORKDIR /worker | ||
COPY . {worker_name} | ||
RUN test ! -e {worker_name}/requirements.txt || pip install --no-cache-dir -r{worker_name}/requirements.txt | ||
ENTRYPOINT {command} |