diff --git a/Dockerfile b/Dockerfile index c83c2c7..5a9c79a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,4 +25,4 @@ COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV} COPY --from=builder /app/src/ /app/src COPY --from=builder /app/main.py /app/main.py -ENTRYPOINT ["python", "-m", "main.py"] \ No newline at end of file +ENTRYPOINT ["python", "main.py"] \ No newline at end of file diff --git a/main.py b/main.py index fd5c354..c41b692 100644 --- a/main.py +++ b/main.py @@ -19,5 +19,3 @@ def job_wrapper(): while True: schedule.run_pending() time.sleep(10) - - # guard.lightsail_instance_public_ip_keepalive(name=os.environ['LIGHTSAIL_INSTANCE_NAME'])