chartManD commited on
Commit
9e7770c
·
1 Parent(s): 6ae190f

server js 1.1

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -12,7 +12,6 @@
12
  # CMD ["bash"]
13
 
14
  FROM debian:12.6
15
- COPY . ./app
16
 
17
  RUN apt update -y
18
  RUN apt upgrade -y
@@ -26,15 +25,15 @@ RUN rm -rf /var/lib/apt/lists/*
26
  #RUN chmod +x entrypoint.sh
27
  EXPOSE 7860
28
  #EXPOSE 22
29
- WORKDIR app
30
  RUN ls
31
 
32
  RUN node -v
33
  RUN npm -v
34
 
 
 
35
  RUN npm install
36
  RUN npm build
37
-
38
  # RUN cd /dist/. /var/etc/html
39
  #USER root
40
  #RUN cat /etc/passwd
 
12
  # CMD ["bash"]
13
 
14
  FROM debian:12.6
 
15
 
16
  RUN apt update -y
17
  RUN apt upgrade -y
 
25
  #RUN chmod +x entrypoint.sh
26
  EXPOSE 7860
27
  #EXPOSE 22
 
28
  RUN ls
29
 
30
  RUN node -v
31
  RUN npm -v
32
 
33
+ COPY . ./app
34
+ WORKDIR app
35
  RUN npm install
36
  RUN npm build
 
37
  # RUN cd /dist/. /var/etc/html
38
  #USER root
39
  #RUN cat /etc/passwd