elungky commited on
Commit
ea133b8
·
1 Parent(s): 26ccbe7

Added COPY . /app to Dockerfile to include project files

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -6
Dockerfile CHANGED
@@ -1,14 +1,17 @@
1
  # Dockerfile
2
  FROM elungky/gen3c:latest
3
 
4
- # Copy the startup script into the container
5
- COPY start.sh /app/start.sh
 
6
 
7
- # Make the script executable inside the container
8
- RUN chmod +x /app/start.sh
 
 
9
 
10
- # Set the working directory (assuming /app is where your code is copied in elungky/gen3c:latest)
11
- WORKDIR /app
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"]