1 Star 0 Fork 0

AllanWong/crawler_gold_currency

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 645 Bytes
一键复制 编辑 原始数据 按行查看 历史
VIET-GITL 提交于 2024-06-25 15:24 . gold currency
FROM python:3.10-bookworm
ENV APPLICATION_SERVICE=/app
# set work directory
RUN mkdir -p $APPLICATION_SERVICE
# where the code lives
WORKDIR $APPLICATION_SERVICE
# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
# install dependencies
COPY pyproject.toml ./
RUN pip install --upgrade pip setuptools wheel && \
pip install poetry && \
poetry config virtualenvs.create false && \
poetry lock && \
poetry install --no-dev
# copy project
COPY . $APPLICATION_SERVICE
CMD alembic upgrade head && \
gunicorn app.main:main_app -w 1 -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000 --timeout 300
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/allanwong/crawler_gold_currency.git
[email protected]:allanwong/crawler_gold_currency.git
allanwong
crawler_gold_currency
crawler_gold_currency
master

搜索帮助