add Dockerfile and docker-compose.yml; remove README and executable
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user