Spaces:
Build error
Build error
Cambio de workdir y user a root
Browse files- 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 |
-
|
| 21 |
-
|
| 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"]
|