Skip to content

Commit

Permalink
add docker image timezone for China (#68)
Browse files Browse the repository at this point in the history
* add image zone for China

* remove unused ENV

---------

Co-authored-by: shubao.sx <[email protected]>
Co-authored-by: Yue Fei <[email protected]>
  • Loading branch information
3 people authored Jun 19, 2024
1 parent 435a8b5 commit 1ca838f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ COPY . .
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 1ca838f

Please sign in to comment.