Skip to content

Commit

Permalink
runme update
Browse files Browse the repository at this point in the history
Signed-off-by: John Andersen <[email protected]>
  • Loading branch information
pdxjohnny committed May 20, 2020
1 parent 655787c commit 58ed658
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .runme/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:3.7
RUN mkdir /app && \
COPY .runme/rundffml /usr/local/bin/rundffml
RUN chmod 755 /usr/local/bin/rundffml && \
mkdir /app && \
pip install -U pip setuptools && \
pip install \
dffml \
Expand Down
2 changes: 1 addition & 1 deletion .runme/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 1.0
publish: app
services:
app:
command: python -m dffml service http server -insecure -cors '*' -addr 0.0.0.0 -port 8080 -upload-dir . -log debug
command: rundffml
build:
type: dockerfile
config: ./.runme/Dockerfile
Expand Down
3 changes: 3 additions & 0 deletions .runme/rundffml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

exec python -m dffml service http server -insecure -cors '*' -addr 0.0.0.0 -port 8080 -upload-dir . -log debug

0 comments on commit 58ed658

Please sign in to comment.