Skip to content

Commit

Permalink
tries to fix the old venv not being deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
sphawes committed Nov 3, 2024
1 parent c85b591 commit 3bb6bb1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,17 @@ ENV PATH="/root/.cargo/bin/:$PATH"
# ---------------

# Copies your code file from your action repository to the filesystem path `/` of the container
COPY . /autobom
COPY . ~/autobom

# remove existing virtual environment
RUN sudo rm -r /autobom/.venv
RUN sudo rm -r ~/autobom/.venv

WORKDIR /autobom/example

RUN uv sync --verbose
RUN cd ~/autobom && uv sync --verbose

# Code file to execute when the docker container starts up (`entrypoint.sh`)
#CMD ["uv", "run", "autobom"]

CMD ["echo", "'out=success'", ">>", "$GITHUB_OUTPUT"]
#CMD ["echo", "'out=success'", ">>", "$GITHUB_OUTPUT"]

# setting up a non-root user

Expand Down

0 comments on commit 3bb6bb1

Please sign in to comment.