forked from numinouslabs/numinous
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (20 loc) · 675 Bytes
/
Dockerfile
File metadata and controls
28 lines (20 loc) · 675 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
FROM python:3.11.9-slim
ENV DEBIAN_FRONTEND=noninteractive \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PYTHONFAULTHANDLER=1 \
PYTHONHASHSEED=random \
PIP_NO_CACHE_DIR=1 \
PATH="/root/.local/bin:${PATH}"
WORKDIR /root/infinite_games
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
wget \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /root/infinite_games
RUN pip install --upgrade pip \
&& pip install -r requirements.txt
ARG GIT_COMMIT_HASH
ENV GIT_COMMIT_HASH=${GIT_COMMIT_HASH}
COPY . /root/infinite_games
RUN mkdir -p /root/infinite_games/database /tmp/ig_validator_sandbox