diff options
author | Mole Shang <[email protected]> | 2023-04-29 00:20:39 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2023-04-29 00:27:50 +0800 |
commit | 5adbd9abe3e303f18ea980e449a0f714fd9ef106 (patch) | |
tree | 337857fb9d254aee4e24f535fc8fe1d52b6a6ae4 /Dockerfile | |
parent | 546928c977fae4c316c27664e3dfd4982b293ffe (diff) | |
download | telegram-mail-bot-5adbd9abe3e303f18ea980e449a0f714fd9ef106.tar.gz telegram-mail-bot-5adbd9abe3e303f18ea980e449a0f714fd9ef106.tar.bz2 telegram-mail-bot-5adbd9abe3e303f18ea980e449a0f714fd9ef106.zip |
chore: update deps list and migrate dep manager to `pipenv`
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,9 +4,10 @@ WORKDIR /opt/workdir/telegram-mail-bot COPY utils /opt/workdir/telegram-mail-bot/utils COPY bot.py /opt/workdir/telegram-mail-bot/ -COPY requirements.txt /opt/workdir/telegram-mail-bot/ +COPY Pipfile Pipfile.lock /opt/workdir/telegram-mail-bot/ -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install pipenv +RUN pipenv install --system --deploy ENV OWNER_CHAT_ID= ENV TELEGRAM_TOKEN= |