chartManD commited on
Commit
8ca03e1
·
1 Parent(s): 266cf4b

Cambio de workdir y user a root

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -17,8 +17,8 @@ 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"]
 
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"]