fix dockerfile port expose

This commit is contained in:
lan-air
2022-12-09 23:37:04 +08:00
parent 3f18af15ed
commit 14653ab4c9
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
WORKDIR /app
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
EXPOSE 123456
EXPOSE 12345
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "12345"]
+3
View File
@@ -6,6 +6,7 @@
## 主要特色
- [x] 轻量简洁,Fastapi+sqlite3
- [x] 拖拽,复制粘贴上传
- [x] 文件口令传输
- [x] 分享文件:多种上传方式供你选择
@@ -14,6 +15,8 @@
- [x] 完全匿名:不记录任何信息
- [x] 无需注册:无需注册,无需登录
- [x] Sqlite3数据库:无需安装数据库
- [ ] 管理面板:简单列表页删除违规文件
- [ ] 口令使用次数,口令有效期
## 系统截图