Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -9,9 +9,12 @@ RUN wget https://github.com/huggingface/transformers/archive/refs/heads/main.zip
|
|
9 |
RUN unzip transformers.zip -d transformers
|
10 |
RUN rm transformers.zip
|
11 |
|
|
|
12 |
# Install the Transformers library
|
13 |
-
WORKDIR transformers/transformers
|
14 |
-
|
|
|
|
|
15 |
|
16 |
# Copy your Python script
|
17 |
COPY app.py .
|
|
|
9 |
RUN unzip transformers.zip -d transformers
|
10 |
RUN rm transformers.zip
|
11 |
|
12 |
+
WORKDIR /app
|
13 |
# Install the Transformers library
|
14 |
+
# WORKDIR transformers/transformers
|
15 |
+
|
16 |
+
# RUN pip install -e .
|
17 |
+
RUN pip install transformers
|
18 |
|
19 |
# Copy your Python script
|
20 |
COPY app.py .
|