Browse Source

change dockerfile

Paweł Malicki 1 year ago
parent
commit
661cd03ac3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      frontend/Dockerfile

+ 3 - 3
frontend/Dockerfile

@@ -4,12 +4,12 @@ FROM node:16
 
 
 WORKDIR /app
 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 ./
 COPY package.json ./
 RUN npm install
 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 the rest of the application files
 COPY . .
 COPY . .