This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
# Start from Alpine base image
|
||||
FROM alpine:latest
|
||||
|
||||
# Install bash and curl
|
||||
RUN apk update && apk add --no-cache curl bash
|
||||
COPY src /app/scripts
|
||||
RUN chmod +x /app/scripts -R
|
||||
|
||||
ENV LOOP=60
|
||||
|
||||
# Set bash as the default shell
|
||||
CMD ["/bin/sh","-c", "/app/scripts/update-ip.sh"]
|
||||
Reference in New Issue
Block a user