goingyt commited on
Commit
26a96db
Β·
verified Β·
1 Parent(s): 28d49a3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -1,8 +1,14 @@
1
  # Use the official Portainer CE image as the base image
2
  FROM portainer/portainer-ce:latest
3
 
 
 
 
 
 
 
4
  # Expose the Portainer web interface port
5
  EXPOSE 9000
6
 
7
- # Set the entrypoint to start Portainer
8
- ENTRYPOINT ["./portainer"]
 
1
  # Use the official Portainer CE image as the base image
2
  FROM portainer/portainer-ce:latest
3
 
4
+ # Copy the entry point script
5
+ COPY start.sh /start.sh
6
+
7
+ # Make the entry point script executable
8
+ RUN chmod +x /start.sh
9
+
10
  # Expose the Portainer web interface port
11
  EXPOSE 9000
12
 
13
+ # Set the entrypoint to the custom script
14
+ ENTRYPOINT ["/start.sh"]