Selaa lähdekoodia

change dockerfile

Paweł Malicki 1 vuosi sitten
vanhempi
sitoutus
661cd03ac3
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      frontend/Dockerfile

+ 3 - 3
frontend/Dockerfile

@@ -4,12 +4,12 @@ FROM node:16
 
 WORKDIR /app
 
-# Copy package.json file first to install dependencies (omit package-lock.json if it doesn’t exist)
+# Copy package.json file first to install dependencies
 COPY package.json ./
 RUN npm install
 
-# Install Expo CLI globally
-RUN npm install -g expo-cli
+# Install Expo CLI and ngrok globally
+RUN npm install -g expo-cli @expo/ngrok
 
 # Copy the rest of the application files
 COPY . .