Skip to content

Commit 51ab622

Browse files
committed
update to limit changes
1 parent 9d2284c commit 51ab622

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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
2121
ENV 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

Comments
 (0)