Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add libffi-dev to Docker build to resolve local build issues #449

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.12.0-alpine3.18

RUN addgroup -S appgroup && adduser -S appuser -G appgroup -u 1051

RUN apk add --no-cache --no-progress build-base \
RUN apk add --no-cache --no-progress build-base libffi-dev \
&& apk update \
&& apk upgrade --no-cache --available

Expand All @@ -20,7 +20,6 @@ ENV PYTHONUNBUFFERED 1
USER 1051

EXPOSE 4567

ENTRYPOINT gunicorn operations_engineering_reports:app \
--bind 0.0.0.0:4567 \
--timeout 120