diff --git a/Dockerfile b/Dockerfile index 20c16dd..aa2ee54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,8 @@ RUN uv sync --no-dev COPY . . RUN chmod +x entrypoint.sh +# If sqlite3 is used +VOLUME /data EXPOSE 8000 # Seeds perms/roles/superuser (idempotent, no-op if already present), then runs the API server. diff --git a/Makefile b/Makefile index ee2af40..7d52f18 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,8 @@ clean: docker: mkdir -p artifacts docker build -t $(IMAGE_NAME):$(VERSION) . + +docker-push: docker docker tag $(IMAGE_NAME):$(VERSION) $(IMAGE_NAME):latest docker tag $(IMAGE_NAME):$(VERSION) git.kinesin.ca/kinesin/$(IMAGE_NAME):$(VERSION) docker tag $(IMAGE_NAME):$(VERSION) git.kinesin.ca/kinesin/$(IMAGE_NAME):latest