-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (25 loc) · 758 Bytes
/
Dockerfile
File metadata and controls
33 lines (25 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM mambaorg/micromamba:noble
LABEL authors="Albert Dominguez, Miguel Ibarra"
# Set the base layer for micromamba
USER root
COPY docker-env-config.yml .
RUN apt-get update -qq && apt-get install -y \
build-essential \
ffmpeg \
libsm6 \
libxext6 \
procps \
git
# Set the environment variable for the root prefix
ARG MAMBA_ROOT_PREFIX=/opt/conda
# Add /opt/conda/bin to the PATH
ENV PATH=$MAMBA_ROOT_PREFIX/bin:$PATH
# Install stuff with micromamba
RUN micromamba env create -f docker-env-config.yml --yes && \
micromamba clean --all --yes
# Add environment to PATH
ENV PATH="/opt/conda/envs/spotiflow/bin:$PATH"
# Set the working directory
WORKDIR /spotiflow
# Copy contents of the folder to the working directory
COPY . .