initail
This commit is contained in:
+8
-4
@@ -1,13 +1,17 @@
|
||||
FROM node:22-alpine
|
||||
|
||||
RUN mkdir /srv/public/
|
||||
Run mkdir /srv/app
|
||||
RUN mkdir /storage
|
||||
RUN mkdir /database
|
||||
|
||||
WORKDIR /srv/
|
||||
|
||||
RUN npm install socket.io
|
||||
RUN npm install express
|
||||
COPY ./src/* /srv/app
|
||||
COPY ./package.json /srv/package.json
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY ./app.js /srv/app.js
|
||||
COPY ./public/index.html /srv/public/index.html
|
||||
|
||||
CMD node /srv/app.js
|
||||
CMD node app/app.js
|
||||
|
||||
Reference in New Issue
Block a user