Skip to content

Commit

Permalink
Adding things
Browse files Browse the repository at this point in the history
  • Loading branch information
nmagee committed Mar 12, 2024
1 parent 875c680 commit db06b89
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 57 deletions.
53 changes: 0 additions & 53 deletions .github/workflows/ghcr-build-tags.yaml

This file was deleted.

11 changes: 8 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9-alpine3.14-2024-01-22

FROM python:3.12-alpine
COPY ./app /app
COPY requirements.txt requirements.txt
RUN pip install --upgrade pip && pip install -r requirements.txt
RUN pip install -r requirements.txt
CMD cd /app && uvicorn main:app --host 0.0.0.0 --port 80

# FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9-alpine3.14-2024-01-22
# COPY ./app /app
# COPY requirements.txt requirements.txt
# RUN pip install --upgrade pip && pip install -r requirements.txt
1 change: 0 additions & 1 deletion goals.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
1. Build container image automatically.
2. Version the releases - using tags.
3. Push to a container registry (GHCR, Docker Hub, etc.)

0 comments on commit db06b89

Please sign in to comment.