mirror of
https://github.com/litruv/API-WebSocket-Bridge.git
synced 2026-07-24 02:36:03 +10:00
changed package locations for compatibility with npm
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ."
|
||||
},
|
||||
Reference in New Issue
Block a user