Remove Docker-related files from dev branch

This commit is contained in:
jango-blockchained
2024-12-17 15:25:40 +01:00
parent 108524c7c4
commit afe9b296bb
4 changed files with 10 additions and 77 deletions

View File

@@ -1,36 +0,0 @@
# Dependencies
node_modules
npm-debug.log
yarn-debug.log
yarn-error.log
# Build output
dist
# Version control
.git
.gitignore
# Environment variables
.env
.env.local
.env.*.local
# IDE files
.vscode
.idea
# Test files
coverage
__tests__
jest.config.js
jest.setup.js
*.test.ts
*.spec.ts
# Other
*.md
.DS_Store
Dockerfile
docker-compose.yml
.dockerignore

View File

@@ -1,23 +0,0 @@
# Use Node.js 20.10.0 as the base image
FROM node:20.10.0-slim
# Create app directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source code
COPY . .
# Build the application
RUN npm run build
# Expose the port your app runs on (if needed)
# EXPOSE 3000
# Start the application
CMD ["npm", "start"]

View File

@@ -7,5 +7,5 @@ export const HASS_CONFIG = {
BASE_URL: process.env.HASS_HOST || 'http://homeassistant.local:8123', BASE_URL: process.env.HASS_HOST || 'http://homeassistant.local:8123',
TOKEN: process.env.HASS_TOKEN || '', TOKEN: process.env.HASS_TOKEN || '',
SOCKET_URL: process.env.HASS_SOCKET_URL || '', SOCKET_URL: process.env.HASS_SOCKET_URL || '',
SOCKET_TOKEN: process.env.HASS_SOCKET_TOKEN || '', SOCKET_TOKEN: process.env.HASS_TOKEN || '',
}; };

View File

@@ -4,16 +4,7 @@
"module": "NodeNext", "module": "NodeNext",
"moduleResolution": "NodeNext", "moduleResolution": "NodeNext",
"outDir": "./dist", "outDir": "./dist",
"rootDir": "./", "rootDir": "./src",
"baseUrl": "./",
"paths": {
"@src/*": [
"src/*"
],
"@tests/*": [
"__tests__/*"
]
},
"strict": true, "strict": true,
"esModuleInterop": true, "esModuleInterop": true,
"skipLibCheck": true, "skipLibCheck": true,
@@ -27,20 +18,21 @@
"jest" "jest"
], ],
"typeRoots": [ "typeRoots": [
"./node_modules/@types", "./node_modules/@types"
"./node_modules/@types/node"
], ],
"lib": [ "lib": [
"ES2022", "ES2022"
"DOM"
] ]
}, },
"include": [ "include": [
"src/**/*", "src/**/*"
"__tests__/**/*.test.ts"
], ],
"exclude": [ "exclude": [
"node_modules", "node_modules",
"dist" "dist",
"**/*.test.ts",
"**/*.spec.ts",
"jest.config.js",
"jest.setup.js"
] ]
} }