Update Dockerfile
Browse files- 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
|
8 |
-
ENTRYPOINT ["
|
|
|
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"]
|