Skip to content

Instantly share code, notes, and snippets.

View davidcjw's full-sized avatar

David Chong davidcjw

View GitHub Profile
@davidcjw
davidcjw / Dockerfile
Created January 12, 2021 13:08
Shrink docker image using multi-stage Docker build
# Use a multi-stage build
# This is the build-stage image
FROM continuumio/miniconda3 as BUILD
WORKDIR /app
# Create the environment
COPY conda.yml .
RUN conda env create -f conda.yml