Skip to content

Commit

Permalink
adding fix for openssl error
Browse files Browse the repository at this point in the history
  • Loading branch information
EliseCastle23 committed Jan 21, 2025
1 parent a42522a commit 3c57b15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ WORKDIR /${appname}
# Builder stage
FROM base AS builder

RUN dnf install -y openssl-devel

USER gen3

COPY poetry.lock pyproject.toml /${appname}/
Expand All @@ -29,6 +31,8 @@ ENV PATH="$(poetry env info --path)/bin:$PATH"
# Final stage
FROM base

RUN yum install -y postgresql-libs

COPY --from=builder /${appname} /${appname}

# Switch to non-root user 'gen3' for the serving process
Expand Down

0 comments on commit 3c57b15

Please sign in to comment.