Spaces:
Build error
Build error
Added COPY . /app to Dockerfile to include project files
Browse files- Dockerfile +9 -6
Dockerfile
CHANGED
|
@@ -1,14 +1,17 @@
|
|
| 1 |
# Dockerfile
|
| 2 |
FROM elungky/gen3c:latest
|
| 3 |
|
| 4 |
-
#
|
| 5 |
-
|
|
|
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
|
|
|
|
|
|
|
| 9 |
|
| 10 |
-
#
|
| 11 |
-
|
| 12 |
|
| 13 |
# Execute the startup script when the container runs
|
| 14 |
CMD ["/app/start.sh"]
|
|
|
|
| 1 |
# Dockerfile
|
| 2 |
FROM elungky/gen3c:latest
|
| 3 |
|
| 4 |
+
# Set the working directory inside the container.
|
| 5 |
+
# This is where your application will expect its files (e.g., /app/cosmos_predict1)
|
| 6 |
+
WORKDIR /app
|
| 7 |
|
| 8 |
+
# Copy all files from the current local directory (where your Dockerfile is)
|
| 9 |
+
# into the /app directory inside the container.
|
| 10 |
+
# This will ensure cosmos_predict1/, assets/, checkpoints/, and start.sh are all present.
|
| 11 |
+
COPY . /app
|
| 12 |
|
| 13 |
+
# Make the start.sh script executable inside the container
|
| 14 |
+
RUN chmod +x /app/start.sh
|
| 15 |
|
| 16 |
# Execute the startup script when the container runs
|
| 17 |
CMD ["/app/start.sh"]
|