diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..85f331d --- /dev/null +++ b/.dockerignore @@ -0,0 +1,75 @@ +# Compiled files +*.py[cod] +*.a +*.o +*.so +__pycache__ +a.out +.cache +.pytest_cache +.eggs +*.fits +*.cat + +# Ignore .c files by default to avoid including generated code. If you want to +# add a non-generated .c extension, use `git add -f filename.c`. +*.c + +# Other generated files +*/version.py +*/cython_version.py +htmlcov +.coverage +MANIFEST +.ipynb_checkpoints +env + +# Sphinx +docs/api +docs/_build + +# Eclipse editor project files +.project +.pydevproject +.settings + +# Pycharm editor project files +.idea + +# Floobits project files +.floo +.flooignore + +# Packages/installer info +*.egg +*.egg-info +dist +build +eggs +parts +bin +var +sdist +develop-eggs +.installed.cfg +distribute-*.tar.gz + +# VS Code +.vscode + +# Other +.cache +.tox +.*.sw[op] +*~ +.project +.pydevproject +.settings + +# Mac OSX +.DS_Store +.AppleDouble + +*.xml + +*.iml diff --git a/Dockerfile b/Dockerfile index b5b2cf5..d5bb631 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim-bullseye +FROM ghcr.io/lcogt/banzai-floyds:0.11.1 WORKDIR /banzai-floyds-ui @@ -6,12 +6,6 @@ COPY ./pyproject.toml ./dependencies.lock ./ RUN pip install --no-cache -r dependencies.lock -RUN apt-get -y update && apt-get -y install git gcc && \ - pip install --no-cache-dir "banzai_floyds@git+https://github.com/lcogt/banzai-floyds@output-dataproduct-frameid" && \ - apt-get -y remove gcc && \ - apt-get autoclean && \ - rm -rf /var/lib/apt/lists/* - COPY . . RUN pip install --no-cache-dir .