Code Monkey home page Code Monkey logo

Comments (3)

karfly avatar karfly commented on May 16, 2024

Did you run command docker compose up --build?

from chatgpt_telegram_bot.

dan1dan12345678 avatar dan1dan12345678 commented on May 16, 2024

thanks for fast reply

here is the all track of command

chatgpt_telegram_bot git:(main) ✗ sudo docker compose up --build
[+] Building 0.9s (9/9) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/python:3.8-slim 0.5s
=> [1/4] FROM docker.io/library/python:3.8-slim@sha256:cb29e6c698261ba263f0742524fd60dfd8a6b548fb6477a1305816e386baa4ee 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 2.15kB 0.0s
=> CACHED [2/4] RUN mkdir -p /code 0.0s
=> CACHED [3/4] ADD . /code 0.0s
=> CACHED [4/4] WORKDIR /code 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:6fa0a43a86465edec31ebff9797b3d6d36d1d6a3726aaf7cd3fb6949a095c7cc 0.0s
=> => naming to docker.io/library/chatgpt_telegram_bot-llm_telegram_bot 0.0s
[+] Running 1/0
⠿ Container chatgpt_telegram_bot Created 0.0s
Attaching to chatgpt_telegram_bot
chatgpt_telegram_bot | Traceback (most recent call last):
chatgpt_telegram_bot | File "bot.py", line 8, in
chatgpt_telegram_bot | from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup
chatgpt_telegram_bot | ModuleNotFoundError: No module named 'telegram'
chatgpt_telegram_bot exited with code 0
chatgpt_telegram_bot | Traceback (most recent call last):
chatgpt_telegram_bot | File "bot.py", line 8, in
chatgpt_telegram_bot | from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup
chatgpt_telegram_bot | ModuleNotFoundError: No module named 'telegram'
chatgpt_telegram_bot exited with code 0
chatgpt_telegram_bot | Traceback (most recent call last):
chatgpt_telegram_bot | File "bot.py", line 8, in
chatgpt_telegram_bot | from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup
chatgpt_telegram_bot | ModuleNotFoundError: No module named 'telegram'
chatgpt_telegram_bot exited with code 1
chatgpt_telegram_bot | Traceback (most recent call last):
chatgpt_telegram_bot | File "bot.py", line 8, in
chatgpt_telegram_bot | from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup
chatgpt_telegram_bot | ModuleNotFoundError: No module named 'telegram'
chatgpt_telegram_bot exited with code 1
chatgpt_telegram_bot | Traceback (most recent call last):
chatgpt_telegram_bot | File "bot.py", line 8, in
chatgpt_telegram_bot | from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup
chatgpt_telegram_bot | ModuleNotFoundError: No module named 'telegram'
chatgpt_telegram_bot exited with code 1
chatgpt_telegram_bot | Traceback (most recent call last):
chatgpt_telegram_bot | File "bot.py", line 8, in
chatgpt_telegram_bot | from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup
chatgpt_telegram_bot | ModuleNotFoundError: No module named 'telegram'
chatgpt_telegram_bot exited with code 1
^CGracefully stopping... (press Ctrl+C again to force)

from chatgpt_telegram_bot.

karfly avatar karfly commented on May 16, 2024

Strange behavior. Looks like not all the lines in Dockerfile execute.

Try to clear cache with command docker builder prune and then run docker compose.

from chatgpt_telegram_bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.