fix: docker entrypoint

This commit is contained in:
sriram veeraghanta 2024-05-22 13:00:45 +05:30
parent 9591ccccaa
commit 509d5fe554
4 changed files with 5 additions and 6 deletions

View file

@ -42,11 +42,10 @@ RUN apk --no-cache add "bash~=5.2"
COPY ./bin ./bin/
RUN mkdir -p /code/plane/logs
RUN chmod +x ./bin/takeoff ./bin/worker ./bin/beat
RUN chmod +x ./bin/*
RUN chmod -R 777 /code
# Expose container port and run entry point script
EXPOSE 8000
# CMD [ "./bin/takeoff" ]

View file

@ -41,5 +41,5 @@ RUN chmod -R 777 /code
# Expose container port and run entry point script
EXPOSE 8000
CMD [ "./bin/takeoff.local" ]
CMD [ "./bin/docker-entrypoint-api-local.sh" ]