Add Dockerfile
This commit is contained in:
parent
3ae3dfe922
commit
7fb3a1c0e9
1 changed files with 11 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM alpine:3.18 AS build
|
||||||
|
RUN apk add --no-cache python3 py3-build py3-hatchling
|
||||||
|
COPY . /build
|
||||||
|
WORKDIR /build
|
||||||
|
RUN python3 -m build .
|
||||||
|
|
||||||
|
FROM alpine:3.18
|
||||||
|
RUN apk add --no-cache py3-pip
|
||||||
|
COPY --from=build /build/dist/recipes-*-py3-none-any.whl /
|
||||||
|
RUN pip install /recipes-*-py3-none-any.whl
|
||||||
|
ENTRYPOINT ["/usr/bin/recipes-cli"]
|
Loading…
Add table
Add a link
Reference in a new issue