-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (27 loc) · 747 Bytes
/
Dockerfile
File metadata and controls
33 lines (27 loc) · 747 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 python:3.10-slim
# Update and install required packages including clang
RUN apt-get update && apt-get install -y \
apt-utils \
vim \
telnet \
iputils-ping \
curl \
libgl1 \
build-essential \
gfortran \
libblas-dev \
liblapack-dev \
libatlas-base-dev \
libopenblas-dev \
&& apt-get clean
# Create working directory
RUN mkdir -p /usr/local/bin/cde
WORKDIR /usr/local/bin/cde
# Copy requirements
COPY requirements.txt requirements.txt
# Upgrade pip, setuptools, and wheel
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Install additional Python packages
RUN python -m nltk.downloader punkt