Skip to content

Commit

Permalink
chore: ls
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisjared committed Jul 9, 2024
1 parent f22fb5c commit 0dc3541
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,13 @@ COPY --from=chamber /chamber /bin/chamber
# Copy across the virtual environment
COPY --from=builder /opt/venv/.venv /opt/venv

# Install the local package in editable mode
# Requires scaffolding the src directories
COPY pyproject.toml poetry.lock README.md ./
RUN mkdir -p src/openmethane_prior && touch src/openmethane_prior/__init__.py
RUN pip install -e .

# Copy in the rest of the project
# For testing it might be easier to mount $(PWD):/opt/project so that local changes are reflected in the container
COPY . /opt/project

RUN ls /opt/venv/*

# Install the local package in editable mode
RUN pip install -e .

CMD ["/bin/bash"]

0 comments on commit 0dc3541

Please sign in to comment.