Skip to content

Commit

Permalink
debug: try sth different
Browse files Browse the repository at this point in the history
  • Loading branch information
DerTiedemann committed Nov 26, 2024
1 parent bcc85b2 commit 4f904c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions actions/gcp-gsm-parse-secrets/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM python:3-slim AS builder
WORKDIR /github/workspace
WORKDIR /action/workspace/

RUN pip install poetry==1.8.2

Expand All @@ -8,9 +8,9 @@ ENV POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_CREATE=1 \
POETRY_CACHE_DIR=/tmp/poetry_cache

COPY pyproject.toml poetry.lock ./
COPY main.py ./
COPY pyproject.toml poetry.lock /action/workspace/
COPY main.py /action/workspace/
RUN poetry install --no-root && rm -rf $POETRY_CACHE_DIR

# CMD ["poetry","run","python", "main.py"]
CMD ["bash", "-c", "pwd && ls -la"]
CMD ["poetry","run","python", "/action/workspace/main.py"]
# CMD ["bash", "-c", "pwd && ls -la"]

0 comments on commit 4f904c8

Please sign in to comment.