web: Fix timezone

This commit is contained in:
2025-11-12 12:37:16 -06:00
parent 8fe330857d
commit 1ef7fc5535

View File

@@ -8,8 +8,8 @@ COPY src /app/Backend/src
RUN julia --project=. -e 'using Pkg; Pkg.develop(path="Backend"); Pkg.add("HiGHS"); Pkg.add("JuMP"); Pkg.precompile()' RUN julia --project=. -e 'using Pkg; Pkg.develop(path="Backend"); Pkg.add("HiGHS"); Pkg.add("JuMP"); Pkg.precompile()'
COPY docker/startup.jl ./ COPY docker/startup.jl ./
# Set timezone to US/Chicago # Set timezone to Chicago
ENV TZ=US/Chicago ENV TZ=America/Chicago
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Set default environment variables # Set default environment variables