diff --git a/gatewayservice/Dockerfile b/gatewayservice/Dockerfile index 47f2bb9..7c030c3 100644 --- a/gatewayservice/Dockerfile +++ b/gatewayservice/Dockerfile @@ -11,7 +11,7 @@ COPY package*.json ./ RUN npm install --ignore-scripts # Copy the app source code to the working directory -COPY gateway-service.js ./ +COPY . . # Define the command to run your app CMD ["node", "gateway-service.js"] diff --git a/questionservice/Dockerfile b/questionservice/Dockerfile index 3fe633a..811b6b2 100644 --- a/questionservice/Dockerfile +++ b/questionservice/Dockerfile @@ -14,8 +14,7 @@ RUN npm install axios --ignore-scripts RUN npm install --ignore-scripts # Copy the app source code to the working directory -COPY server.js ./ -COPY questions.json ./ +COPY . . # Define the command to run your app CMD ["node", "server.js"] diff --git a/userservice/authservice/Dockerfile b/userservice/authservice/Dockerfile index e5fc65d..af171fc 100644 --- a/userservice/authservice/Dockerfile +++ b/userservice/authservice/Dockerfile @@ -11,8 +11,7 @@ COPY package*.json ./ RUN npm install --ignore-scripts # Copy the app source code to the working directory -COPY auth-service.js ./ -COPY auth-model.js ./ +COPY . . # Expose the port the app runs on EXPOSE 8002 diff --git a/userservice/userservice/Dockerfile b/userservice/userservice/Dockerfile index d80ffb6..891aaa9 100644 --- a/userservice/userservice/Dockerfile +++ b/userservice/userservice/Dockerfile @@ -11,9 +11,7 @@ COPY package*.json ./ RUN npm install --ignore-scripts # Copy the app source code to the working directory -COPY user-service.js ./ -COPY user-model.js ./ - +COPY . . # Expose the port the app runs on EXPOSE 8001