Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Stage - UV
ARG UV_VERSION=0.5.11
FROM ghcr.io/astral-sh/uv:${UV_VERSION} AS uv_source

# .devcontainer/Dockerfile
FROM python:3.11

Expand All @@ -7,9 +11,15 @@ RUN apt-get update
# Install pip
RUN apt-get install -y python3-pip

# Install uv
COPY --from=uv_source /uv /uvx /bin/

# Install any necessary dependencies
RUN apt-get install -y build-essential libssl-dev libffi-dev python3-dev


RUN uv venv

# # Copy requirements.txt and install the requirements
# COPY requirements.txt .
# RUN pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"forwardPorts": [
8888
],
"postCreateCommand": "pip install -r requirements.txt",
"postCreateCommand": "uv venv && uv pip install -r requirements.txt",
"customizations": {
"vscode": {
"extensions": [
Expand Down