Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
FHU-yezi committed Jun 6, 2022
2 parents 1302cb7 + ef8fa96 commit b64e951
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
FROM python:3.8.10-slim

ENV TZ Asia/Shanghai

WORKDIR /app

COPY requirements.txt .

RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple \
&& rm -rf ~/.cache/pip
RUN pip install \
-r requirements.txt \
--no-cache-dir \
-i https://mirrors.aliyun.com/pypi/simple

COPY . .

Expand Down
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.4.1
version: 1.4.2
port: 8602
mainpage_footer: 'Made with <a href="https://github.com/FHU-yezi/JianshuResearchTools/" style="color: #0056B3">JRT</a>, <a href="https://github.com/pywebio/PyWebIO" style="color: #0056B3">PyWebIO</a> and ♥'
service_pages_footer: 'Powered By <a href="https://github.com/FHU-yezi/JianshuResearchTools/" style="color: #0056B3">JRT</a> and <a href="https://github.com/pywebio/PyWebIO" style="color: #0056B3">PyWebIO</a>'
Expand Down
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
main:
image: jianshumicrofeatures:1.4.1
image: jianshumicrofeatures:1.4.2
build: .
ports:
- "8602:8602"
Expand All @@ -15,4 +15,5 @@ services:
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
max_attempts: 3
stop_grace_period: 1s

0 comments on commit b64e951

Please sign in to comment.