Skip to content

Commit

Permalink
refactor: update Dockerfile to include gcc and python3-dev, and adjus…
Browse files Browse the repository at this point in the history
…t requirements installation path
  • Loading branch information
iwphonedo committed Dec 30, 2024
1 parent dc37fc4 commit b80572c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ WORKDIR /workspace
RUN apt-get update && apt-get install -y \
git \
curl \
gcc \
python3-dev \
&& rm -rf /var/lib/apt/lists/*

# Install Python dependencies
COPY requirements.txt /workspace/
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r /workspace/requirements.txt

# Copy the rest of the repository into the container
COPY . /workspace
Expand Down
5 changes: 4 additions & 1 deletion tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,4 +325,7 @@ def test_with_statistics_disabled(opal_server: list[OpalServerContainer]):
assert False

def test_with_uvicorn_workers_and_no_broadcast_channel(opal_server: list[OpalServerContainer]):
assert False
assert False

def test_two_servers_one_worker(opal_server: list[OpalServerContainer]):
assert False

0 comments on commit b80572c

Please sign in to comment.