Skip to content
Snippets Groups Projects
Commit 001a0a3d authored by Daniel Lyons's avatar Daniel Lyons
Browse files

Reduce the size of the docker image using conda clean

parent 0e41dc3b
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,10 @@ FROM continuumio/miniconda3
RUN apt-get install make
WORKDIR /code
COPY environment.yml environment.yml
RUN conda env update
COPY . .
RUN conda run -n data make python-setup-develop
RUN conda env update \
&& conda clean -afy
WORKDIR /root/.capo
COPY docker.properties .
WORKDIR /code
COPY . .
RUN conda run -n data make python-setup-develop
\ No newline at end of file
......@@ -5,4 +5,4 @@ WORKDIR /code/schema
ENV CAPO_PROFILE docker
ENV PATH /opt/conda/envs/data/bin:$PATH
ENV CONDA_DEFAULT_ENV data
ENTRYPOINT alembic upgrade head
ENTRYPOINT sleep 3 && alembic upgrade head
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment