Skip to content

Commit

Permalink
add docker image timezone for China
Browse files Browse the repository at this point in the history
  • Loading branch information
paradiseHIT committed Jun 19, 2024
1 parent 64da2ca commit 7ade39e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile_gpu
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ RUN mv pyproject_gpu.toml pyproject.toml \
RUN poetry install && rm -rf $POETRY_CACHE_DIR

FROM python:3.10-slim AS prod

RUN rm -rf /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Harbin /etc/localtime

ENV VIRTUAL_ENV=/app/.venv \
PATH="/app/.venv/bin:$PATH"

Expand Down

0 comments on commit 7ade39e

Please sign in to comment.