Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

477
Views
executor failed running [/bin/sh -c chmod +x entrypoint.sh]: exit code: 1

I am adding fastapi to docker which has background tasks. When i am trying to build the docker i am getting this error executor failed running [/bin/sh -c chmod +x entrypoint.sh]: exit code: 1 .Command using to build docker image docker build -t onetest . I have tried removing RUN chmod +x entrypoint.shand tried to build build the image but when i run the docker i got this error docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "./entrypoint.sh": stat ./entrypoint.sh: no such file or directory: unknown..

entrypoint.sh

#!/bin/bash
gunicorn --worker-tmp-dir /dev/shm -k uvicorn.workers.UvicornWorker app.main:app

Dockerfile

FROM python:3.9-slim
COPY ./requirements.txt ./requirements.txt
RUN pip3 install --no-cache-dir --upgrade -r ./requirements.txt
COPY ./app ./app
COPY ./inputs ./inputs
COPY ./model ./model
COPY ./tests ./tests
COPY ./gunicorn.config.py ./gunicorn.config.py
COPY ./Procfile ./Procfile
EXPOSE 8000
RUN chmod +x entrypoint.sh
CMD [ "./entrypoint.sh" ]
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!