-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
42 lines (33 loc) · 1.01 KB
/
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
33
34
35
36
37
38
39
40
41
42
FROM ubuntu:latest
ARG DEBIAN_FRONTEND=noninteractive
# Install System dependencies
RUN apt-get -y update \
&& apt-get -y upgrade \
&& apt-get -y install \
software-properties-common \
curl \
unzip \
bash \
python3-pip \
python3.10-venv \
git \
jq \
zsh \
unrar
ENV NODE_VERSION=14.18.2
RUN apt install -y curl
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
ENV NVM_DIR=/root/.nvm
RUN . "$NVM_DIR/nvm.sh" && nvm install ${NODE_VERSION}
RUN . "$NVM_DIR/nvm.sh" && nvm use v${NODE_VERSION}
RUN . "$NVM_DIR/nvm.sh" && nvm alias default v${NODE_VERSION}
ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"
RUN npm i duckdb-async
# Install the dependencies file to the working directory
COPY requirements.txt .
RUN pip install --upgrade pip \
&& pip install -r requirements.txt
ENV PYTHONPATH "${PYTHONPATH}:/sport_odds/lab/src/src"
## Setup lab tree
# WORKDIR /lab
# COPY lab .