Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -48,10 +48,9 @@ RUN \
|
|
48 |
chmod +x "./docker-entrypoint.sh" && \
|
49 |
echo "*** Convert line endings to Unix format ***" && \
|
50 |
dos2unix "./docker-entrypoint.sh"
|
51 |
-
RUN sed -i 's/# Start the server/echo $(
|
52 |
RUN chmod -R 777 ${APP_HOME}
|
53 |
|
54 |
EXPOSE 7860
|
55 |
|
56 |
-
RUN [ -f launch.sh ] && echo "File exists" || echo "File does not exist"
|
57 |
CMD [ "./docker-entrypoint.sh" ]
|
|
|
48 |
chmod +x "./docker-entrypoint.sh" && \
|
49 |
echo "*** Convert line endings to Unix format ***" && \
|
50 |
dos2unix "./docker-entrypoint.sh"
|
51 |
+
RUN sed -i 's/# Start the server/echo "Current directory: $(pwd)"\&\&\echo "Script directory: $(dirname "\$0")"\&\&ls -la "$(dirname "\$0")" \&\& .\/launch.sh env \&\& .\/launch.sh init/g' docker-entrypoint.sh
|
52 |
RUN chmod -R 777 ${APP_HOME}
|
53 |
|
54 |
EXPOSE 7860
|
55 |
|
|
|
56 |
CMD [ "./docker-entrypoint.sh" ]
|