0.2.1 add Dockerfile proper
This commit is contained in:
parent
6f67d125af
commit
6ba2cf039f
2 changed files with 18 additions and 1 deletions
17
Dockerfile
17
Dockerfile
|
|
@ -0,0 +1,17 @@
|
|||
FROM python:3.13-slim
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
RUN apt-get update && apt-get install -y git
|
||||
|
||||
COPY xefyl xefyl
|
||||
COPY pyproject.toml pyproject.toml
|
||||
COPY .git .git
|
||||
COPY .env.prod .env
|
||||
COPY wordenizer wordenizer
|
||||
|
||||
RUN git checkout v0.2.1 && pip install .
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["/usr/bin/env", "python", "-m", "flask", "--app", "xefyl", "run", "--host", "0.0.0.0"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue