-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from Michael-Sinz/master
First cut at python 3 migration
- Loading branch information
Showing
3 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
FROM python:2.7-slim | ||
FROM python:3.9-slim | ||
|
||
RUN useradd -m -u 999 appuser | ||
|
||
WORKDIR /app | ||
|
||
COPY requirements.txt ./ | ||
|
||
RUN pip install --no-cache-dir -r requirements.txt | ||
RUN python3 -m pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY ./app/ ./ | ||
|
||
USER 999 | ||
|
||
CMD ["python", "./main.py"] | ||
CMD ["python3", "./main.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ azure-keyvault==1.0.0 | |
msrestazure==0.4.34 | ||
adal==1.2.4 | ||
pyopenssl==18.0.0 | ||
kubernetes==6.0.0 | ||
kubernetes==12.0.1 |