summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 0a9c9e1..3b3974c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,9 @@
-FROM tensorflow/tensorflow:1.1.0-rc1-py3
+FROM python:3.6-alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
-RUN apt-get update && apt-get install -y --no-install-recommends git && apt-get clean
-RUN pip install virtualenv && virtualenv venv && pip install -r requirements.txt && pip install git+git://github.com/zzzeek/sqlalchemy
+RUN apk add --no-cache git && pip install --no-cache-dir -r requirements.txt && pip install --no-cache-dir git+git://github.com/zzzeek/sqlalchemy
CMD ["python", "worker.py"]