0.0.2 - fix httpx
This commit is contained in:
parent
133b37c490
commit
a65477fac4
5 changed files with 54 additions and 14 deletions
22
Dockerfile
Normal file
22
Dockerfile
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue