Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
coolbeevip committed Nov 6, 2023
1 parent d736814 commit cd3196e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
ENTRYPOINT ["python", "main.py"]
2 changes: 0 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])

0 comments on commit cd3196e

Please sign in to comment.