@@ -12,10 +12,10 @@ RUN apt-get update && apt-get install -y \
1212 git \
1313 && rm -rf /var/lib/apt/lists/*
1414
15- # Install Go for ARM architecture (latest supported version 1.21)
16- RUN curl -OL https://golang.org/dl/go1.21.1.linux-arm64 .tar.gz && \
17- tar -C /usr/local -xzf go1.21.1.linux-arm64 .tar.gz && \
18- rm go1.21.1.linux-arm64 .tar.gz
15+ # Install Go for AMD64 architecture (latest supported version 1.21)
16+ RUN curl -OL https://golang.org/dl/go1.21.1.linux-amd64 .tar.gz && \
17+ tar -C /usr/local -xzf go1.21.1.linux-amd64 .tar.gz && \
18+ rm go1.21.1.linux-amd64 .tar.gz
1919
2020# Set Go environment variables
2121ENV PATH="/usr/local/go/bin:${PATH}"
@@ -51,4 +51,4 @@ ENV FLASK_APP=app.py
5151# Run the application using uWSGI
5252# CMD ["uwsgi", "--lazy-apps", "--http", "0.0.0.0:5050", "--wsgi-file", "app.py", "--callable", "app", "--processes", "4"]
5353# longer timeout settings to allow for slower rag and llm responses
54- CMD ["uwsgi" , "--lazy-apps" , "--http" , "0.0.0.0:5050" , "--wsgi-file" , "app.py" , "--callable" , "app" , "--processes" , "4" , "--harakiri" , "300" , "--socket-timeout" , "300" , "--http-timeout" , "300" , "--ignore-sigpipe" , "--ignore-write-errors" , "-- http-keepalive" , "--http-auto-chunked" ]
54+ CMD ["uwsgi" , "--lazy-apps" , "--http" , "0.0.0.0:5050" , "--wsgi-file" , "app.py" , "--callable" , "app" , "--processes" , "4" , "--harakiri" , "300" , "--socket-timeout" , "300" , "--http-timeout" , "300" , "--http-keepalive" , "--http-auto-chunked" ]
0 commit comments