Skip to content

Commit ecd5b80

Browse files
Merge pull request #56 from DefangLabs/jordan/python3.11
Upgrade to python 3.11
2 parents 44cf4ac + 9fbac1d commit ecd5b80

File tree

6 files changed

+719
-10
lines changed

6 files changed

+719
-10
lines changed

.devcontainer/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
FROM mcr.microsoft.com/devcontainers/python:3.9-bookworm
1+
FROM mcr.microsoft.com/devcontainers/python:3.11-bookworm
2+
3+
COPY ./app/requirements.txt /app/requirements.txt
4+
RUN pip install --no-cache-dir -r app/requirements.txt
5+
6+
COPY ./app /app

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
99
},
1010
"mounts": [
11-
"source=/Users/jordan/.aws,target=/home/vscode/.aws,type=bind,consistency=cached",
11+
// "source=/Users/user/.aws,target=/home/vscode/.aws,type=bind,consistency=cached",
1212
],
1313
"forwardPorts": [
1414
5050,

.github/workflows/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
environment: production
1515

1616
steps:
17-
- name: Set up Python 3.9
17+
- name: Set up Python
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: '3.9'
20+
python-version: '3.11'
2121
- name: Checkout Repo
2222
uses: actions/checkout@v4
2323

app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.9-slim
2+
FROM python:3.11-slim
33

44
# Set the working directory in the container
55
WORKDIR /app

0 commit comments

Comments
 (0)