diff --git a/dockerfile b/dockerfile index 404eace..c5f8ef3 100644 --- a/dockerfile +++ b/dockerfile @@ -5,7 +5,7 @@ FROM node:18 WORKDIR /app # Copy package.json and package-lock.json to the working directory -COPY source/package.json source/package-lock.json /app/ +COPY package.json package-lock.json /app/ # Install dependencies RUN npm install --production diff --git a/source/package-lock.json b/package-lock.json similarity index 100% rename from source/package-lock.json rename to package-lock.json diff --git a/source/package.json b/package.json similarity index 94% rename from source/package.json rename to package.json index eee1078..88ada5a 100644 --- a/source/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "websocket-driver", "version": "1.0.0", "description": "WebSocket Driver is a Node.js application that provides a WebSocket server for real-time communication. It allows clients to connect and exchange data using the WebSocket protocol", - "main": "index.js", + "main": "source/index.js", "scripts": { "docker-build": "docker build -t websocket-driver ." },