Skip to content

Commit

Permalink
build: 设置时区为中国 (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 authored Apr 8, 2023
1 parent 347a51c commit e88db05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/lang/zh-CN/

## [Unreleased]

### Changed

- 设置时区为中国

## [2.0.0] - 2023-04-07

### Added
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ FROM python:3.11-slim-bullseye

WORKDIR /app

# 设置时区
ENV TZ=Asia/Shanghai

# 安装依赖
COPY --from=requirements-stage /tmp/requirements.txt /app/requirements.txt
RUN apt-get update \
Expand Down

0 comments on commit e88db05

Please sign in to comment.