fix Dockerfile
Browse files- Dockerfile +11 -3
- packages.txt +0 -3
Dockerfile
CHANGED
@@ -1,11 +1,19 @@
|
|
1 |
FROM ubuntu:22.04
|
|
|
2 |
|
3 |
RUN apt-get update && \
|
4 |
-
apt-get install -y
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
rm -rf /var/lib/apt/lists/*
|
6 |
|
7 |
-
COPY requirements.txt .
|
8 |
-
RUN pip install --
|
|
|
9 |
|
10 |
RUN git clone https://github.com/lichess-org/chess-openings.git /app/data/lichess_openings && \
|
11 |
cd /app/data/lichess_openings && \
|
|
|
1 |
FROM ubuntu:22.04
|
2 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
3 |
|
4 |
RUN apt-get update && \
|
5 |
+
apt-get install -y --no-install-recommends \
|
6 |
+
git \
|
7 |
+
stockfish \
|
8 |
+
make \
|
9 |
+
python3 \
|
10 |
+
python3-distutils \
|
11 |
+
python3-pip && \
|
12 |
rm -rf /var/lib/apt/lists/*
|
13 |
|
14 |
+
COPY requirements.txt /app/requirements.txt
|
15 |
+
RUN python3 -m pip install --upgrade pip setuptools wheel
|
16 |
+
RUN python3 -m pip install --no-cache-dir -r /app/requirements.txt
|
17 |
|
18 |
RUN git clone https://github.com/lichess-org/chess-openings.git /app/data/lichess_openings && \
|
19 |
cd /app/data/lichess_openings && \
|
packages.txt
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
stockfish
|
2 |
-
make
|
3 |
-
git
|
|
|
|
|
|
|
|