goingyt commited on
Commit
a06f414
Β·
verified Β·
1 Parent(s): 2077a00

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -2
Dockerfile CHANGED
@@ -1,5 +1,10 @@
1
- # Use an Alpine-based image that includes a shell
2
- FROM portainer/portainer-ce:latest-alpine
 
 
 
 
 
3
 
4
  # Copy the entry point script
5
  COPY start.sh /start.sh
 
1
+ # Use Alpine as the base image
2
+ FROM alpine:latest
3
+
4
+ # Install Portainer
5
+ RUN apk add --no-cache curl && \
6
+ curl -L https://github.com/portainer/portainer-ce/releases/latest/download/portainer-ce-linux-amd64 -o /usr/local/bin/portainer && \
7
+ chmod +x /usr/local/bin/portainer
8
 
9
  # Copy the entry point script
10
  COPY start.sh /start.sh