Commit 8bd00ce2 authored by daidekun's avatar daidekun

eos项目的临时dockerfile

parent e39273ed
FROM 192.168.4.36/baseimg/python:12251535
USER root
WORKDIR /src
ADD . /src
RUN cd /src; pip install -r requirements.txt;pip install --upgrade kubernetes
RUN mkdir -p /root/.kube
RUN echo "192.168.4.35 kubernetes" >> /etc/hosts
COPY ./kube_config /root/.kube/config
EXPOSE 9001
CMD ["python", "/src/run.py"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment