Skip to content
Open
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
15 changes: 12 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
FROM python:3.10
FROM python:3.10-alpine
COPY . /claim
WORKDIR /claim
RUN apt update && apt install age && apt clean
# Install necessary packages using apk; handle any build dependencies
RUN apk update && \
apk add --no-cache curl && \
apk add --no-cache libressl-dev musl-dev gcc libffi-dev && \
apk add --no-cache py3-pip && \
apk add --no-cache --virtual .build-deps gcc musl-dev libffi-dev
# Assuming 'age' refers to a tool or library, you need to find the equivalent in Alpine or build from source
# If 'age' is a Python package, install it using pip
RUN curl -o metadata.json https://fluence-dao.s3.eu-west-1.amazonaws.com/metadata.json
RUN pip install -r python/requirements.txt
# Cleanup build dependencies
RUN apk del .build-deps

ENTRYPOINT ["python", "python/proof.py"]
ENTRYPOINT ["python", "python/proof.py"]