Create Dockerfile
This commit is contained in:
17
onedrive/cron/Dockerfile
Normal file
17
onedrive/cron/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN apt update && apt upgrade -y && apt autoremove -y && apt install python3 python3-pip -y && apt install git nano wget -y
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
ENV PING_IP="1270.0.0.1"
|
||||||
|
|
||||||
|
ENV TOKEN="token"
|
||||||
|
|
||||||
|
ENV PASSWORD_WEB="pass"
|
||||||
|
|
||||||
|
RUN chmod +x run.sh
|
||||||
|
|
||||||
|
ENTRYPOINT ./run.sh
|
||||||
Reference in New Issue
Block a user