2023-07-19 20:46:20 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
# Install necessary packages
|
|
|
|
RUN apt-get update && apt-get install -y openssh-client git
|
|
|
|
|
|
|
|
# Copy the script into the container
|
|
|
|
COPY app.sh /app/app.sh
|
|
|
|
|
|
|
|
# Set the working directory
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
# Make the script executable
|
|
|
|
RUN chmod +x app.sh
|
|
|
|
|
|
|
|
# Set the entrypoint to execute the script
|
|
|
|
ENTRYPOINT ["/app/app.sh"]
|
2023-07-19 21:41:48 +02:00
|
|
|
|
|
|
|
# cron fehlt
|