Compare commits
1
Commits
v0.9
...
da41fb5990
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da41fb5990 |
+3
-3
@@ -4,11 +4,11 @@ WORKDIR /app
|
|||||||
|
|
||||||
ENV UV_COMPILE_BYTECODE=1
|
ENV UV_COMPILE_BYTECODE=1
|
||||||
|
|
||||||
ADD ./pyproject.toml .
|
ADD pyproject.toml uv.lock .
|
||||||
ADD ./uv.lock .
|
|
||||||
ADD ./src .
|
|
||||||
RUN uv sync --frozen --no-dev
|
RUN uv sync --frozen --no-dev
|
||||||
|
|
||||||
|
ADD /src .
|
||||||
|
|
||||||
ENV PATH="/app/.venv/bin:$PATH"
|
ENV PATH="/app/.venv/bin:$PATH"
|
||||||
|
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
|||||||
+5
-2
@@ -1,7 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
web:
|
pjl:
|
||||||
# Build the image from the Dockerfile in the current directory
|
# Build the image from the Dockerfile in the current directory
|
||||||
build: .
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
image: pjl:0.9
|
||||||
|
|
||||||
# Host the FastAPI application on port 8000
|
# Host the FastAPI application on port 8000
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user