Merge pull request #18 from brycedrennan/bugfixes
Bugfixes + per-prompt tile modepull/21/head 1.6.0
commit
08fca72033
@ -0,0 +1,21 @@
|
||||
__pycache__
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.pyd
|
||||
.Python
|
||||
env
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
.tox
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
*.log
|
||||
.git
|
||||
.mypy_cache
|
||||
.pytest_cache
|
||||
.hypothesis
|
||||
.DS_Store
|
@ -0,0 +1,36 @@
|
||||
FROM python:3.10.6-slim as base
|
||||
|
||||
RUN apt-get update && apt-get install -y libgl1 libglib2.0-0 make
|
||||
|
||||
ENV PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
||||
PIP_ROOT_USER_ACTION=ignore
|
||||
|
||||
|
||||
FROM base as build_wheel
|
||||
|
||||
RUN pip install wheel
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY imaginairy ./imaginairy
|
||||
COPY setup.py README.md ./
|
||||
|
||||
RUN python setup.py bdist_wheel
|
||||
|
||||
|
||||
|
||||
FROM base as install_wheel
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements-dev.in ./
|
||||
|
||||
RUN pip install -r requirements-dev.in
|
||||
|
||||
COPY --from=build_wheel /app/dist/* ./
|
||||
|
||||
RUN pip install *.whl
|
||||
RUN imagine --help
|
||||
COPY Makefile ./
|
||||
COPY tests ./tests
|
||||
|
Loading…
Reference in New Issue