Skip to content

Commit

Permalink
Fix Dockefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Quving committed Apr 6, 2020
1 parent cbf5046 commit 893f924
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ FROM python:3.6

LABEL maintainer="[email protected]"

# Install deps
WORKDIR /app
ADD . .
RUN pip install -r requirements.txt

# Install kubectl
RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl"
RUN chmod +x kubectl
RUN ln -s /kubectl /usr/bin/kubectl

# Install deps
WORKDIR /app
ADD . .
RUN pip install -r requirements.txt

CMD ["python", "main.py"]

0 comments on commit 893f924

Please sign in to comment.