Thanks for the replies guys. The image is based on:
FROM python:3.11-slim as python-base
I ended up moving the whole thing over into GH actions (where it truly belongs, tbh). Sharing my workflow code for the posterity:
name: Fly Images
on:
push:
paths:
- "server/workers/**"
jobs:
tests:
runs-on: ubuntu-latest
name: Run tests
steps:
- uses: actions/checkout@v4
- name: Run tests
working-directory: "server/workers"
run: docker build --no-cache --target test .
deploy:
name: Build and push worker image
needs: tests
runs-on: ubuntu-latest
concurrency: deploy-group
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Auth Fly Docker
run: flyctl auth docker
- name: Build docker image
working-directory: "server/workers"
run: docker build -t registry.fly.io/IMAGE_NAME_HERE:latest .
- name: Push docker image
run: docker push registry.fly.io/IMAGE_NAME_HERE:latest