fix: revert setting HOME=/tmp by default

This commit is contained in:
Ruben Fiszel
2025-12-25 08:07:40 +00:00
parent bee96af090
commit 5697e217ee
3 changed files with 2 additions and 10 deletions
+2 -5
View File
@@ -59,7 +59,7 @@ RUN npm run generate-backend-client
ENV NODE_OPTIONS "--max-old-space-size=8192"
ARG VITE_BASE_URL ""
# Read more about macro in docker/dev.nu
# -- MACRO-SPREAD-WASM-PARSER-DEV-ONLY -- #
# -- MACRO-SPREAD-WASM-PARSER-DEV-ONLY -- #
RUN npm run build
@@ -197,7 +197,7 @@ RUN UV_CACHE_DIR=/tmp/build_cache/uv UV_PYTHON_INSTALL_DIR=/tmp/build_cache/py_r
RUN UV_CACHE_DIR=/tmp/build_cache/uv UV_PYTHON_INSTALL_DIR=/tmp/build_cache/py_runtime uv python install $LATEST_STABLE_PY
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get -y update && apt-get install -y curl procps nodejs awscli && apt-get clean \
&& rm -rf /var/lib/apt/lists/*
@@ -219,9 +219,6 @@ ENV UV_CACHE_DIR=/tmp/windmill/cache/uv
ENV UV_PYTHON_INSTALL_DIR=/tmp/windmill/cache/py_runtime
ENV GOCACHE=/tmp/windmill/cache/go
# Set HOME for arbitrary UID support (matches windmill's default fallback)
ENV HOME=/tmp
ENV TZ=Etc/UTC
COPY --from=builder /frontend/build /static_frontend
-3
View File
@@ -56,9 +56,6 @@ RUN mkdir -p -m 777 /tmp/windmill/logs /tmp/windmill/search /tmp/.cache && \
chmod 777 /tmp/.cache && \
find ${APP} /tmp/windmill -type d -exec chmod 777 {} +
# Set HOME for arbitrary UID support (Docker sets HOME=/ for unknown UIDs)
ENV HOME=/tmp
EXPOSE 8000
CMD ["windmill"]
-2
View File
@@ -56,8 +56,6 @@ RUN mkdir -p -m 777 /tmp/windmill/logs /tmp/windmill/search /tmp/.cache && \
chmod 777 /tmp/.cache && \
find ${APP} /tmp/windmill -type d -exec chmod 777 {} +
# Set HOME for arbitrary UID support (Docker sets HOME=/ for unknown UIDs)
ENV HOME=/tmp
EXPOSE 8000