docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "main.py": executable file not found in $PATH: unknown.
FROM python:3.9-alpine
WORKDIR /app
# VOLUME /my_user_bot_volume
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY . .
version: '3'
services:
user_bot:
build: .
container_name: my_user_bot
command: python main.py
volumes:
- .:/app