added dynamic stream button
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -1,10 +1,7 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
# Copy the static web application files
|
||||
COPY index.html /usr/share/nginx/html/index.html
|
||||
COPY streams.txt /usr/share/nginx/html/streams.txt
|
||||
|
||||
# Nginx default port
|
||||
FROM node:18-alpine
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm install --only=production
|
||||
COPY . .
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
CMD ["node", "server.js"]
|
||||
|
||||
Reference in New Issue
Block a user