We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d86e64e commit 18b68bdCopy full SHA for 18b68bd
āsrc/Dockerfile_ecsā
@@ -14,6 +14,10 @@ RUN groupadd -r appuser && useradd -r -g appuser appuser && \
14
15
USER appuser
16
17
+# Preload tiktoken encoding: https://github.com/aws-samples/bedrock-access-gateway/issues/118
18
+ENV TIKTOKEN_CACHE_DIR=/app/.cache/tiktoken
19
+RUN python3 -c 'import tiktoken_ext.openai_public as tke; tke.cl100k_base()'
20
+
21
ENV PORT=8080
22
23
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
0 commit comments