[INSTALLATION] - Docker file doesn't
See original GitHub issueI 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:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m going to move this issue to #502 as the docker container might be messed up right now
It is not related to my code, because even if I use code from Quick Start Guide there is still this issue.