AstraOS commited on
Commit
6cb9eb8
·
verified ·
1 Parent(s): 62db14c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -8
Dockerfile CHANGED
@@ -20,21 +20,21 @@ RUN apt-get update && apt-get install -y \
20
  && rm -rf /var/lib/apt/lists/*
21
 
22
  # Install Go
23
- RUN curl -sSL https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz -o go${GO_VERSION}.tar.gz \
24
- && tar -xvzf go${GO_VERSION}.tar.gz \
25
- && mv go /usr/local/ \
26
- && rm go${GO_VERSION}.tar.gz
27
 
28
  # Set Go binary path
29
- ENV PATH="/usr/local/go/bin:${PATH}"
30
 
31
  # Install Hugo from source (Standard edition)
32
- RUN go install github.com/gohugoio/hugo@${HUGO_VERSION}
33
 
34
  # Install Python dependencies for Hugging Face
35
  RUN pip install --no-cache-dir \
36
- transformers \
37
- torch \
38
  huggingface_hub \
39
  fastapi \
40
  uvicorn
 
20
  && rm -rf /var/lib/apt/lists/*
21
 
22
  # Install Go
23
+ # RUN curl -sSL https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz -o go${GO_VERSION}.tar.gz \
24
+ # && tar -xvzf go${GO_VERSION}.tar.gz \
25
+ # && mv go /usr/local/ \
26
+ # && rm go${GO_VERSION}.tar.gz
27
 
28
  # Set Go binary path
29
+ # ENV PATH="/usr/local/go/bin:${PATH}"
30
 
31
  # Install Hugo from source (Standard edition)
32
+ # RUN go install github.com/gohugoio/hugo@${HUGO_VERSION}
33
 
34
  # Install Python dependencies for Hugging Face
35
  RUN pip install --no-cache-dir \
36
+ # transformers \
37
+ # torch \
38
  huggingface_hub \
39
  fastapi \
40
  uvicorn