ver-0.4
This commit is contained in:
+6
-5
@@ -1,11 +1,12 @@
|
||||
FROM node:14-alpine
|
||||
|
||||
RUN npm install --silent socket.io
|
||||
|
||||
RUN npm install --silent express
|
||||
FROM node:22-alpine
|
||||
|
||||
RUN mkdir /srv/public/
|
||||
|
||||
WORKDIR /srv/
|
||||
|
||||
RUN npm install socket.io
|
||||
RUN npm install express
|
||||
|
||||
COPY ./app.js /srv/app.js
|
||||
COPY ./public/index.html /srv/public/index.html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user