removed dockerfiles for permission reasons

This commit is contained in:
2024-12-15 11:08:13 -05:00
parent f2573655b6
commit 46e040d6bc
3 changed files with 1 additions and 28 deletions
-16
View File
@@ -1,16 +0,0 @@
FROM node:latest
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN mkdir -p /app/secrets && chmod -R 700 /app/secrets
EXPOSE 5164
ENV NODE_ENV=production
CMD ["node", "."]
-11
View File
@@ -1,11 +0,0 @@
services:
app:
build:
context: .
ports:
- "5164:3000"
volumes:
- ./secrets:/app/secrets
environment:
PORT: 3000
NODE_ENV: production
+1 -1
View File
@@ -7,7 +7,7 @@ import { spawn } from 'node-pty';
import json from './secrets/config.json' with { type: 'json' };
const __dirname = path.dirname(fileURLToPath(import.meta.url)),
PORT = process.env.PORT || 3000,
PORT = process.env.PORT || 5164,
app = express();
expressWs(app); // enable websockets for the app