so
is it just the docker missing the functionality?
Cause couldn't we just add an extra value to the appwrite.json that specifies if we need certain libraries required to compile them and then use a different docker image? I'm not sure on the specifics
the base docker image doesn't have gcc to compile the dependencies
what's the docker image based on? I'm sure you guys checked already but
in the referenced github there's someone that said
@malachibazar The fix has been accepted so it'll probably come out with the next merge.
If you need the fix with any speed just add RUN apk --no-cache add musl-dev linux-headers g++ to the python docker files right under the FROM line
I know you saw that because you referenced it but will that not work?
yeah so all that's needed is to add
RUN apk update && apk add python3-dev \
gcc \
libc-dev \
libffi-dev
FROM python:3.10-alpine3.15
LABEL maintainer="team@appwrite.io"
ENV INTERNAL_RUNTIME_ENTRYPOINT=main.py
RUN mkdir -p /usr/local/src/
RUN mkdir -p /usr/code
RUN mkdir -p /usr/workspace
RUN mkdir -p /usr/builds
WORKDIR /usr/local/src
COPY . .
RUN apk update && apk add python3-dev \
gcc \
libc-dev \
libffi-dev
RUN chmod +x /usr/local/src/start.sh
RUN chmod +x /usr/local/src/build.sh
ENV FLASK_APP="/usr/local/src/server.py"
EXPOSE 3000
CMD ["/usr/local/src/start.sh"]
I just ran it and it worked just fine
well if that works I can add the change, if not let me know
I saw the concern about size and I really wouldn't be too concerned
No, you don't need to submit a PR
So will it be added or is the size preventing it?
We're taking a different approach. We plan to provide a runtime with various ML libraries already installed including pandas
Ahh okay. Is there any sort of timeline or anything I can do to help?
I think it's going to be in the next release so just be patient
Just out of curiosity how often are releases normally? I’m working on a demo app to get paid and just curious if I should host a server temporarily and run the API locally for now and then switch it over or what you’d recommend
Don't wait for the release
Hey just curious, I know the new release came out, but it's not included in it?
Not 1.3.8
Any update?
When I said next release, I meant 1.4. No update but its coming
Ah I understand
thank you!
Recommended threads
- [v1.8.1] Getting error "(role: applicati...
... but that scope doesn't exist. I am trying to get a function to run and modify tables in the database dynamically. I set everything up and eventually got: ...
- Scheduled function silently stopped firi...
Function is scheduled `* * * * *` and is `enabled: true`, but Appwrite Cloud has stopped queueing executions. Last execution: **2026-05-30 00:47 UTC** (~46h...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...