blob: 3bd635fc809091734151ed0e386676a2eb9c2845 [file] [log] [blame]
Zsolt Haraszti7003f2b2016-09-08 15:56:14 -07001FROM alpine:3.1
2
3# Update to have latest images
4RUN apk add --update python py-pip
5
6# Install app dependencies
7RUN apk add build-base gcc abuild binutils python-dev && \
Zsolt Haraszti3263da42016-09-08 16:31:04 -07008 pip install scapy twisted && \
9 apk del --purge build-base gcc abuild binutils python-dev
Zsolt Haraszti7003f2b2016-09-08 15:56:14 -070010
11# Bundle app source
12COPY voltha /voltha
13
14# Exposing process and default entry point
15# EXPOSE 8000
16CMD ["python", "voltha/voltha.py"]