Dockerfile
FROM python
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
CMD ["python", "main.py"]
terminal
sudo docker image build .
sudo docker container run -v $(pwd):/app $(sudo docker image ls -q)
Go to list of users who liked
FROM python
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
CMD ["python", "main.py"]
sudo docker image build .
sudo docker container run -v $(pwd):/app $(sudo docker image ls -q)
Register as a new user and use Qiita more conveniently
Go to list of users who liked