Moved Docker stuff to "Docker" folder

Created k8s folder for k8s stuff
Added early-stage service.yaml for K8s deployment
This commit is contained in:
erichardso
2018-08-28 11:51:23 -07:00
parent 176e2f2062
commit d880f44ca6
138 changed files with 11 additions and 0 deletions

18
Docker/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM python:2.7.15-alpine3.8
LABEL maintainer="Evan Richardson"
LABEL version="1.0"
WORKDIR /app
COPY . /app
ENV PYTHONPATH=/app/src/python
RUN pip install -r requirements.txt
RUN echo "http://dl-8.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN apk --no-cache --update-cache add gcc python-dev build-base
RUN ln -s /usr/include/locale.h /usr/include/xlocale.h
RUN pip install --no-cache-dir numpy
RUN rm -rf /var/cache/apk
CMD ["/app/src/bin/tHome-eagle.py", "-c", "/app/src/conf"]
EXPOSE 22042