Dockerized Expo fails to deploy on Azure, working fine in localhost

I have a simple React-native app using the following package.json

{
  "name": "msales_expo",
  "version": "1.0.0",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start --no-dev --web",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@expo/webpack-config": "^0.17.2",
    "@react-native-async-storage/async-storage": "~1.17.3",
    "@react-navigation/native": "^6.0.14",
    "@react-navigation/stack": "^6.3.5",
    "expo": "~47.0.8",
    "expo-status-bar": "~1.4.2",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "react-native": "0.70.5",
    "react-native-gesture-handler": "~2.8.0",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-safe-area-context": "4.4.1",
    "react-native-screens": "~3.18.0",
    "react-native-web": "~0.18.9",
    "cross-env": "7.0.3"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9"
  },
  "private": true
}

And here is the Dockerfile

FROM node:16-alpine
RUN mkdir /app
WORKDIR /app
COPY package.json /app
RUN npm install
COPY . /app
EXPOSE 19006
ENTRYPOINT [ "npm", "start" ]
CMD [ "--web", "--no-dev", "--minify" ]

Here are the logs from Azure web app

2022-12-02T13:16:54.353Z INFO - docker run -d --expose=80 --name msales-ui_0_39fdc37f -e DOCKER_CUSTOM_IMAGE_NAME=msalesui:latest -e WEBSITE_SITE_NAME=msales-ui -e WEBSITE_AUTH_ENABLED=False -e PORT=19006 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=msales-ui.azurewebsites.net -e WEBSITE_INSTANCE_ID=b2fccf9116282c9672b2b47d85ae1e40a0982f2853d98adce6127a0953fdfb84 -e WEBSITE_USE_DIAGNOSTIC_SERVER=False msalesui.azurecr.io/msalesui:latest

2022-12-02T13:16:54.355Z INFO - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2022-12-02T13:17:01.794Z INFO - Initiating warmup request to container msales-ui_0_39fdc37f for site msales-ui
2022-12-02T13:17:17.211Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 15.4175417 sec
2022-12-02T13:17:32.636Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 30.8423458 sec
2022-12-02T13:17:47.870Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 46.0767531 sec
2022-12-02T13:18:03.496Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 61.7021694 sec
2022-12-02T13:18:19.029Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 77.2359155 sec
2022-12-02T13:18:35.453Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 93.6597342 sec
2022-12-02T13:18:51.013Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 109.2197947 sec
2022-12-02T13:19:06.501Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 124.7071135 sec
2022-12-02T13:19:21.986Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 140.1929617 sec
2022-12-02T13:19:37.506Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 155.7121459 sec
2022-12-02T13:19:53.828Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 172.0343254 sec
2022-12-02T13:20:09.821Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 188.027969 sec
2022-12-02T13:20:27.908Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 206.1146838 sec
2022-12-02T13:20:44.177Z INFO - Waiting for response to warmup request for container msales-ui_0_39fdc37f. Elapsed time = 222.3830978 sec
2022-12-02T13:20:52.434Z ERROR - Container msales-ui_0_39fdc37f for site msales-ui did not start within expected time limit. Elapsed time = 230.640737 sec
2022-12-02T13:20:52.513Z ERROR - Container msales-ui_0_39fdc37f didn't respond to HTTP pings on port: 19006, failing site start. See container logs for debugging.
2022-12-02T13:20:52.620Z INFO - Stopping site msales-ui because it failed during startup.
2022-12-02T13:43:13.803Z INFO - Pulling image: msalesui.azurecr.io/msalesui:latest
2022-12-02T13:43:14.375Z INFO - latest Pulling from msalesui
2022-12-02T13:43:14.376Z INFO - Digest: sha256:fa9a36171462e49f8f1911a2477cc0c3bfe617a3a2909c27247762d9a8fa9ac9
2022-12-02T13:43:14.376Z INFO - Status: Image is up to date for msalesui.azurecr.io/msalesui:latest
2022-12-02T13:43:14.379Z INFO - Pull Image successful, Time taken: 0 Minutes and 0 Seconds
2022-12-02T13:43:14.459Z INFO - Starting container for site
2022-12-02T13:43:14.459Z INFO - docker run -d --expose=19006 --name msales-ui_0_95be85c7 -e DOCKER_CUSTOM_IMAGE_NAME=msalesui:latest -e WEBSITE_SITE_NAME=msales-ui -e WEBSITE_AUTH_ENABLED=False -e PORT=19006 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=msales-ui.azurewebsites.net -e WEBSITE_INSTANCE_ID=b2fccf9116282c9672b2b47d85ae1e40a0982f2853d98adce6127a0953fdfb84 -e WEBSITE_USE_DIAGNOSTIC_SERVER=False msalesui.azurecr.io/msalesui:latest

2022-12-02T13:43:14.460Z INFO - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2022-12-02T13:43:17.049Z INFO - Initiating warmup request to container msales-ui_0_95be85c7 for site msales-ui
2022-12-02T13:43:32.364Z INFO - Waiting for response to warmup request for container msales-ui_0_95be85c7. Elapsed time = 15.3143137 sec
2022-12-02T13:47:14.231Z ERROR - Container msales-ui_0_95be85c7 for site msales-ui did not start within expected time limit. Elapsed time = 237.1813334 sec
2022-12-02T13:47:14.321Z ERROR - Container msales-ui_0_95be85c7 didn't respond to HTTP pings on port: 19006, failing site start. See container logs for debugging.
2022-12-02T13:47:14.422Z INFO - Stopping site msales-ui because it failed during startup.