chartManD commited on
Commit
32a3a5d
1 Parent(s): fa88b97

removido del entrypoiny del Dickerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +15 -6
  2. entrypoint.sh +1 -1
Dockerfile CHANGED
@@ -13,12 +13,21 @@
13
 
14
  FROM debian:12.6
15
  COPY . ./app
16
- COPY entrypoint.sh entrypoint.sh
17
- RUN chmod +x entrypoint.sh
 
 
 
 
 
 
 
 
 
18
  EXPOSE 7860
19
- EXPOSE 22
20
  WORKDIR /app
21
- USER root
22
  #RUN cat /etc/passwd
23
- ENTRYPOINT ["./entrypoint.sh"]
24
- CMD ["bash"]
 
13
 
14
  FROM debian:12.6
15
  COPY . ./app
16
+
17
+ RUN apt update -y
18
+ RUN apt upgrade -y
19
+ RUN apt -y install apache2
20
+ RUN apt -y install nodejs
21
+
22
+ RUN node -v
23
+ RUN rm -rf /var/lib/apt/lists/*
24
+
25
+ # COPY entrypoint.sh entrypoint.sh
26
+ # RUN chmod +x entrypoint.sh
27
  EXPOSE 7860
28
+ #EXPOSE 22
29
  WORKDIR /app
30
+ #USER root
31
  #RUN cat /etc/passwd
32
+ #ENTRYPOINT ["./entrypoint.sh"]
33
+ CMD ["node", "mocos.js"]
entrypoint.sh CHANGED
@@ -13,4 +13,4 @@ rm -rf /var/lib/apt/lists/*
13
  # whoamiz
14
  # id
15
  ls
16
- node mocos.js
 
13
  # whoamiz
14
  # id
15
  ls
16
+ #node mocos.js