Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -32,7 +32,6 @@ RUN python3 setup.py build_ext --inplace
|
|
32 |
RUN pip3 install --no-cache-dir -r /app/FAIRSEQ_requirements.txt
|
33 |
ENV FAIRSEQ /app/fairseq
|
34 |
|
35 |
-
|
36 |
# Install LASER and dependencies
|
37 |
RUN git clone https://github.com/lydianish/LASER.git /app/LASER
|
38 |
WORKDIR /app/LASER
|
@@ -76,8 +75,10 @@ RUN mkdir app
|
|
76 |
WORKDIR $HOME/app
|
77 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
78 |
COPY --chown=user . $HOME/app
|
|
|
|
|
79 |
|
80 |
-
EXPOSE
|
81 |
CMD streamlit run app.py \
|
82 |
--server.headless true \
|
83 |
--server.enableCORS false \
|
|
|
32 |
RUN pip3 install --no-cache-dir -r /app/FAIRSEQ_requirements.txt
|
33 |
ENV FAIRSEQ /app/fairseq
|
34 |
|
|
|
35 |
# Install LASER and dependencies
|
36 |
RUN git clone https://github.com/lydianish/LASER.git /app/LASER
|
37 |
WORKDIR /app/LASER
|
|
|
75 |
WORKDIR $HOME/app
|
76 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
77 |
COPY --chown=user . $HOME/app
|
78 |
+
COPY --chown=user $LASER/models $HOME/app/LASER/models
|
79 |
+
COPY --chown=user $ROLASER/models $HOME/app/RoLASER/models
|
80 |
|
81 |
+
EXPOSE 8501
|
82 |
CMD streamlit run app.py \
|
83 |
--server.headless true \
|
84 |
--server.enableCORS false \
|