learn-sql-model/Dockerfile
2023-06-20 12:28:25 -05:00

13 lines
267 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 '.[api]'
COPY . /app
RUN pip3 install '.[api]'
EXPOSE 5000
ENTRYPOINT ["learn-sql-model", "api", "run"]