Add a devcontainer configuration to streamline the development environment setup. Introduce an `install.sh` script to install the project in editable mode. Update the Dockerfile to use the `python:3.13-slim-bullseye` base image and install dependencies using `apt-get` for better compatibility.
19 lines
321 B
Docker
19 lines
321 B
Docker
FROM python:3.13-slim-bullseye
|
|
|
|
USER root
|
|
|
|
# Runtime dependency
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ffmpeg \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip install markitdown
|
|
|
|
# Default USERID and GROUPID
|
|
ARG USERID=10000
|
|
ARG GROUPID=10000
|
|
|
|
USER $USERID:$GROUPID
|
|
|
|
ENTRYPOINT [ "markitdown" ]
|