commit | 7003f2bcc0ed57a8143e2c94dac58c9df34dc346 | [log] [tgz] |
---|---|---|
author | Zsolt Haraszti <zharaszt@ciena.com> | Thu Sep 08 15:56:14 2016 -0700 |
committer | Zsolt Haraszti <zharaszt@ciena.com> | Thu Sep 08 15:56:14 2016 -0700 |
tree | 2d7fe98ea320cae35fe4904a6fc34deaae58d5f8 | |
parent | 6c1fdbd72bc3ca87f12c3adfb094c09a8550bbb7 [diff] [blame] |
Initial Dockerfile
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..73d0638 --- /dev/null +++ b/Dockerfile
@@ -0,0 +1,16 @@ +FROM alpine:3.1 + +# Update to have latest images +RUN apk add --update python py-pip + +# Install app dependencies +RUN apk add build-base gcc abuild binutils python-dev && \ + pip install scapy twisted + +# Bundle app source +COPY voltha /voltha + +# Exposing process and default entry point +# EXPOSE 8000 +CMD ["python", "voltha/voltha.py"] +