batanus commited on
Commit
1062acf
1 Parent(s): 6cec51a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -2
Dockerfile CHANGED
@@ -2,8 +2,6 @@ FROM node:18
2
  WORKDIR /app
3
  RUN echo "const http = require('http');\nconst server = http.createServer((req, res) => res.end('Hello World'));\nserver.listen(7860);" > server.js
4
 
5
- # Указываем порт
6
  EXPOSE 7860
7
 
8
- # Запускаем сервер
9
  CMD ["node", "server.js"]
 
2
  WORKDIR /app
3
  RUN echo "const http = require('http');\nconst server = http.createServer((req, res) => res.end('Hello World'));\nserver.listen(7860);" > server.js
4
 
 
5
  EXPOSE 7860
6
 
 
7
  CMD ["node", "server.js"]