autoevaluator HF staff commited on
Commit
cdd0d43
1 Parent(s): 6908a2a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -36
Dockerfile CHANGED
@@ -1,36 +1,2 @@
1
- FROM python:3.8.9
2
-
3
- ENV DEBIAN_FRONTEND=noninteractive \
4
- TZ=Europe/Paris
5
-
6
- RUN pip install pip==22.3.1
7
-
8
- WORKDIR /app
9
- RUN mkdir -p /app/.cache
10
- ENV HF_HOME="/app/.cache"
11
- RUN chown -R 1000:1000 /app
12
- USER 1000
13
- ENV HOME=/app
14
-
15
- ENV PYTHONPATH=$HOME/app \
16
- PYTHONUNBUFFERED=1 \
17
- GRADIO_ALLOW_FLAGGING=never \
18
- GRADIO_NUM_PORTS=1 \
19
- GRADIO_SERVER_NAME=0.0.0.0 \
20
- GRADIO_THEME=huggingface \
21
- SYSTEM=spaces
22
-
23
-
24
- RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
25
- && sh Miniconda3-latest-Linux-x86_64.sh -b -p /app/miniconda \
26
- && rm -f Miniconda3-latest-Linux-x86_64.sh
27
- ENV PATH /app/miniconda/bin:$PATH
28
-
29
- RUN conda create -p /app/env -y python=3.8
30
-
31
-
32
- SHELL ["conda", "run","--no-capture-output", "-p","/app/env", "/bin/bash", "-c"]
33
-
34
- RUN pip install competitions==0.1.1
35
-
36
- CMD competitions run
 
1
+ FROM huggingface/competitions:latest
2
+ CMD competitions run