Files
wehub-resource-sync 3a7c47b2a6
build / build (macos-latest) (push) Has been cancelled
build / build (ubuntu-latest) (push) Has been cancelled
build / build (windows-latest) (push) Has been cancelled
minimal / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:38:00 +08:00

21 lines
405 B
Docker

# Set base image
ARG BASE_IMAGE=python:3.10-slim
FROM $BASE_IMAGE
# Target CPU architecture
ARG TARGETARCH
# Set Python version (i.e. 3, 3.10)
ARG PYTHON_VERSION=3
# Locale environment variables
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN \
# Install minimal txtai project and dependencies
MINIMAL=1 python -m pip install --no-cache-dir txtai_minimal
# Set default working directory
WORKDIR /app