container builds successfully but throws error when starting the stack
/bin/sh: 1: ./gradlew: not found
here is my Dockerfile :
FROM arm32v7/openjdk:7
WORKDIR /iotproject
CMD GRADLE_USER_HOME=cache ./gradlew run
dockercompose :
version : "3.6"
services:
server:
build: ./iotproject
restart: always
container_name: server
volumes:
- ./volumes/server:/iotproject
Things i tried : setting permissions & owner. still no luck