-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (24 loc) · 964 Bytes
/
Dockerfile
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
FROM continuumio/miniconda3
##########################################
# 1. Copy setup files into container.
##########################################
# Copy file with python requirements into container.
COPY environment.yml /tmp/environment.yml
##########################################
# 2. Install dependencies.
##########################################
ENV PATH /opt/conda/envs/tale/bin:$PATH
RUN apt-get update && \
# Install system dependencies.
apt-get -y --no-install-recommends install gcc g++ apt-utils make cmake nano && \
# Install conda/pip depencencies; configure default environment.
conda env update -n base -f /tmp/environment.yml
##########################################
# 3. Copy code.
##########################################
COPY . .
##########################################
# 4. Further setup
##########################################
# Expose and launch only if this is supposed to run frontend.
EXPOSE 8050