Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -6
Dockerfile
CHANGED
|
@@ -38,9 +38,6 @@ EXPOSE 7860
|
|
| 38 |
COPY entrypoint.sh /entrypoint.sh
|
| 39 |
RUN chmod +x /entrypoint.sh
|
| 40 |
|
| 41 |
-
# Set the entry point script as the default command
|
| 42 |
-
CMD ["/entrypoint.sh"]
|
| 43 |
-
|
| 44 |
# Set the model as an environment variable (this can be overridden)
|
| 45 |
ENV model="default_model"
|
| 46 |
|
|
@@ -51,8 +48,9 @@ COPY . .
|
|
| 51 |
RUN chmod -R 777 translations
|
| 52 |
|
| 53 |
# Copy the startup script and make it executable
|
| 54 |
-
COPY start.sh .
|
| 55 |
-
RUN chmod +x start.sh
|
| 56 |
|
| 57 |
# Define the command to run the application
|
| 58 |
-
|
|
|
|
|
|
| 38 |
COPY entrypoint.sh /entrypoint.sh
|
| 39 |
RUN chmod +x /entrypoint.sh
|
| 40 |
|
|
|
|
|
|
|
|
|
|
| 41 |
# Set the model as an environment variable (this can be overridden)
|
| 42 |
ENV model="default_model"
|
| 43 |
|
|
|
|
| 48 |
RUN chmod -R 777 translations
|
| 49 |
|
| 50 |
# Copy the startup script and make it executable
|
| 51 |
+
#COPY start.sh .
|
| 52 |
+
#RUN chmod +x start.sh
|
| 53 |
|
| 54 |
# Define the command to run the application
|
| 55 |
+
# Set the entry point script as the default command
|
| 56 |
+
ENTRYPOINT ["/entrypoint.sh"]
|