0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

謎のエラー curl: (56) Recv failure: Connection reset by peer

Posted at

docker-compose.yml

version: "3"
services:
python:
container_name: backend_dev
build: ./backend
ports:
- "5000:5000"
volumes:
- ./backend:/var/www/backend
- ../backend/logs:/var/www/backend/logs
- ./backend/output_txt_files://backend/output_txt_files
- /home/sudouser/project/ALBT/backend/input_audio_files:/input_audio_files
- /var/run/docker.sock:/var/run/docker.sock

dockerfile

FROM python:3.11.0-slim
WORKDIR /var/www/backend
RUN apt update &&
apt -y upgrade &&
apt install -y gcc
COPY requirements.txt .
RUN pip install --upgrade pip &&
pip install -r requirements.txt
pip install requests
COPY . .
CMD ["python", "`app.py"]

実行したら、以下のエラーが出ました...

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?