forked from openEDI/open-data-access-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (28 loc) · 738 Bytes
/
Dockerfile
File metadata and controls
34 lines (28 loc) · 738 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
34
FROM node:16-bullseye-slim
# Setup environment variables
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONDONTWRITEBYTECODE=TRUE
ENV PYTHONUNBUFFERED=TRUE
# Install system dependencies
RUN apt-get update -y --fix-missing && \
apt-get install -y --no-install-recommends \
build-essential \
vim \
python3 \
python3-dev \
python3-pip
# Set Python3 alias as Python
RUN echo 'alias python=python3' >> ~/.bashrc
# Install AWS CDK
RUN npm install -g aws-cdk@1.x
RUN cdk --version
# Install Python packages
WORKDIR /open-data-access-tools
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Setup OEDI environment
COPY . .
RUN pip install -e .