升级python环境为python39

pull/26/merge
isummer 2 years ago
parent 8e325e6cde
commit 8a8f9ef7fe
  1. 8
      README.md
  2. 2
      fir_ser/Dockerfile
  3. 2
      fir_ser/Dockerfile.cli
  4. 2
      fir_ser/requirements/rpm_requirements.txt

@ -10,7 +10,7 @@
- API域名证书
- 存储域名证书(使用阿里云oss存储)
- 前端web域名证书(可选)
- Centos7 服务器
- Centos8Stream 服务器
- 如果使用oss存储,则带宽为1M,若使用本地存储,则带宽越大越好
- 如果使用超级签,最低配置为2cpu 4G内存,若干不使用签名,则1cpu2G就行
- 阿里云短信或极光短信服务【可选一个,主要用与注册,重置密码】
@ -77,9 +77,9 @@ git clone https://github.com/nineaiyu/FlyApps
##### 搭建python env 环境
```shell
yum install python36 python36-devel redis mariadb-server mariadb-devel -y
python3 -m venv py3
source py3/bin/activate
yum install python39 python39-devel redis mariadb-server mariadb-devel -y
python3.9 -m venv py39
source py39/bin/activate
```
###### 安装pip包

@ -1,4 +1,4 @@
FROM python:3.6.14-slim
FROM python:3.9.14-slim
# Fixes some weird terminal issues such as broken clear / CTRL+L
ARG PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple

@ -1,4 +1,4 @@
FROM python:3.6.14-slim
FROM python:3.9.14-slim
ARG PIP_MIRROR=https://mirrors.aliyun.com/pypi/simple

@ -1 +1 @@
python36 python36-devel redis mariadb-devel gcc-c++ gcc openssl-devel wget
python39 python39-devel redis mariadb-devel gcc-c++ gcc openssl-devel wget
Loading…
Cancel
Save