Skip to content

Commit

Permalink
fix: use python3, not python2
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrx committed Dec 16, 2020
1 parent ec925a6 commit 16a88b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM python:2.7-alpine
FROM python:3.8-alpine

COPY . /rancher-gitlab-deploy/

WORKDIR /rancher-gitlab-deploy
RUN python /rancher-gitlab-deploy/setup.py install
RUN ln -s /usr/local/bin/rancher-gitlab-deploy /usr/local/bin/upgrade

CMD [ "/usr/local/bin/upgrade" ]
CMD rancher-gitlab-deploy

0 comments on commit 16a88b9

Please sign in to comment.