3 Commits

Author SHA1 Message Date
767a55c984 changed port 2025-06-17 22:03:06 +02:00
42a2d9ed85 moved directory 2025-06-17 21:39:55 +02:00
fe02505cc6 add Dockerfile and docker-compose.yml; remove README and executable 2025-06-17 21:37:19 +02:00
899 changed files with 36 additions and 2 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# Basis-Image
FROM node:18
# Arbeitsverzeichnis
WORKDIR /app
# Dependencies kopieren und installieren
COPY package*.json ./
RUN npm install
# App-Code kopieren
COPY . .
# Port definieren
EXPOSE 8956
# Startkommando
CMD ["node", "server.js"]

Binary file not shown.

16
docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
version: '3'
services:
express-app:
build: .
container_name: cookbook
restart: unless-stopped
ports:
- "8956:80"
environment:
- NODE_ENV=production
networks:
- proxynet
networks:
proxynet:
external: true

Some files were not shown because too many files have changed in this diff Show More