Skip to content

Commit

Permalink
adds dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Flom <[email protected]>
  • Loading branch information
afflom committed Jun 26, 2023
1 parent aa0dfb6 commit 608a3f3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM registry.access.redhat.com/ubi8/python-38 AS demo

COPY ./ /trestle-bot

WORKDIR /trestle-bot

# Install dependencies
RUN python3.8 -m pip install --upgrade pip \
&& pip install poetry \
&& poetry install
USER 1001
ENTRYPOINT [ "poetry", "run", "trestle-bot" ]
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ inputs:

runs:
using: "docker"
image: "REPLACE_ME"
image: "Dockerfile"

branding:
icon: "check"
Expand Down

0 comments on commit 608a3f3

Please sign in to comment.