Simplify Dockerfile by removing multibuild

- Install exiftool dependency directly in the miniconda image
This commit is contained in:
Saba 2022-01-24 21:54:10 -05:00
parent 33bc62dc19
commit 52e701b3c2

View file

@ -1,15 +1,10 @@
# syntax=docker/dockerfile:1
FROM ubuntu:18.04 AS os-dependencies
FROM continuumio/miniconda3:latest
# Install system dependencies.
RUN apt-get update -y && \
apt-get -y install libimage-exiftool-perl
FROM continuumio/miniconda3:4.10.3p0-alpine
# From the previous image, copy exiftool into this image.
COPY --from=os-dependencies /usr/bin/exiftool /usr/bin/exiftool
# Add the local code to the /app directory and set it to be the working directory.
# Since we mount the /app directory as a volume in docker-compose.yml, this
# allows us to automatically update the code in the Docker image when it's changed.