13 lines
253 B
Docker
13 lines
253 B
Docker
from python:3.10
|
|
|
|
WORKDIR /app
|
|
Copy pyproject.toml /app
|
|
COPY learn_sql_model/__about__.py /app/learn_sql_model/__about__.py
|
|
COPY README.md /app
|
|
RUN pip3 install .
|
|
COPY . /app
|
|
RUN pip3 install .
|
|
|
|
EXPOSE 5000
|
|
|
|
ENTRYPOINT ["learn-sql-model", "api", "run"]
|