public-demo / Dockerfile
JonnyTran's picture
chore: Update Dockerfile to use argilla-quickstart:develop image
9fd42a7
FROM extralit/argilla-quickstart:develop
# Copy the auth config section
COPY .oauth.yaml /home/argilla/
ENV OAUTH_ID=""
## Following variables are used for backward compatibility with the previous security setup for the quickstart image
ENV OWNER_USERNAME=""
ENV OWNER_PASSWORD=""
ENV OWNER_API_KEY=""
ENV ADMIN_USERNAME=""
ENV ADMIN_PASSWORD=""
ENV ADMIN_API_KEY=""
ENV ANNOTATOR_USERNAME=""
ENV ANNOTATOR_PASSWORD=""
ENV ARGILLA_WORKSPACE="public"
# Set the following variables as Secrets in your HuggingFace Space settings
# When connecting to postgres, the ARGILLA_DATABASE_URL must have the prefix "postgresql+asyncpg://"
ENV ARGILLA_DATABASE_URL=""
ENV S3_ENDPOINT=""
ENV S3_ACCESS_KEY=""
ENV S3_SECRET_KEY=""
ENV EXTRALIT_URL=""
# Uncomment the next line if a new version of Argilla requires a dataset search reindex.
ENV REINDEX_DATASETS=true
ENV ARGILLA_ENABLE_TELEMETRY=0
# (since: v1.28.0) Uncomment the next line to force not showing warning message about Hugging Face Space persistent storage not enabled.
ENV ARGILLA_SHOW_HUGGINGFACE_SPACE_PERSISTENT_STORAGE_WARNING=false
CMD ["/bin/bash", "start_quickstart_argilla.sh"]