question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[INSTALLATION] - Docker file doesn't

See original GitHub issue

I did

git clone this_repository

then I made

cd TikTok-Api

and run following command

docker build . -t tiktokapi:latest

Then I run

docker run -v TikTokApi --rm tiktokapi:latest python3 my_file.py

my_file.py is placed in the same directory as Dockerfile but I’ve got this error

python3: can't open file 'my_file.py': [Errno 2] No such file or directory

Please tell me what did i do wrong? Thanks

PS. there is a really BIG problem with newer version of playwright. It doesn’t work because it is from playwright.sync_api import sync_playwright now. But if I change it in TikTokApi folders in tiktok.py and browser.py I’ve got an error…

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
davidteathercommented, Feb 18, 2021

I’m going to move this issue to #502 as the docker container might be messed up right now

0reactions
AnaKuzinacommented, Feb 18, 2021

It is not related to my code, because even if I use code from Quick Start Guide there is still this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Dockerfile doesn't install RUN dependencies - Stack Overflow
It tells docker-compose to build from the "php_7.3-rc-fpm" image and not from the image build with your Dockerfile (it's a question of ...
Read more >
Dockerfile file host doesn't exist - Docker Community Forums
Hello, I want to create a custom container from a dockerfile with apache2, php and sqlite3. But, when I mount the volumes for...
Read more >
docker file doesn't build · Issue #3 · google/aistreamer - GitHub
I should have read your issue before trying to build the docker image. It doesn't work for me either. Were you able to...
Read more >
9 Common Dockerfile Mistakes - Runnablog
9 Common Dockerfile Mistakes · 1. Running apt-get · 2. Using ADD instead of COPY · 3. Adding your entire application directory in...
Read more >
CMD command in Dockerfile doesn't execute when I run ...
It's not supposed to be run. CMD defines the default command to run when you execute the container, not when you build it....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found