mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
override python logger in dockerfile
This commit is contained in:
1 parent
df4f1e6a6c
commit
213742ff29
1 file changed
+4
@@ -201,4 +201,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install
|
||||
--no-install-recommends \
|
||||
&& apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/
|
||||
|
||||
# NB(bt,2023-05-28): Python logging may be slowing down in k8s
|
||||
# See: https://github.com/kubernetes-client/python/issues/1867
|
||||
COPY container_includes/python_overrides/logger/__init__.py /usr/lib/python3.10/logging/__init__.py
|
||||
|
||||
EXPOSE 8080
|
||||
Reference in new issue
Block a user