0.0.2 - fix httpx

This commit is contained in:
Waylon Walker 2024-04-06 08:16:27 -05:00
parent 133b37c490
commit a65477fac4
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
5 changed files with 54 additions and 14 deletions

22
Dockerfile Normal file
View file

@ -0,0 +1,22 @@
FROM python:3.11
WORKDIR /app
RUN pip install uv
COPY pyproject.toml .
COPY htmx_patterns/__about__.py ./htmx_patterns/__about__.py
COPY htmx_patterns/__init__.py ./htmx_patterns/__init__.py
COPY README.md .
RUN uv pip install --system .
COPY . .
EXPOSE 5000
RUN uv pip install --system --no-deps .
ENV TZ=America/Chicago
ENV ENV=production
# CMD ['htmx-patterns', 'api', 'run']
CMD htmx-patterns api run