@@ -12,10 +12,10 @@ RUN apt-get update && apt-get install -y \
12
12
git \
13
13
&& rm -rf /var/lib/apt/lists/*
14
14
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
19
19
20
20
# Set Go environment variables
21
21
ENV PATH="/usr/local/go/bin:${PATH}"
@@ -51,4 +51,4 @@ ENV FLASK_APP=app.py
51
51
# Run the application using uWSGI
52
52
# CMD ["uwsgi", "--lazy-apps", "--http", "0.0.0.0:5050", "--wsgi-file", "app.py", "--callable", "app", "--processes", "4"]
53
53
# 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