Add files via upload
This commit is contained in:
1 parent
58a70caebc
commit
2f49f61645
2 files changed
+2
-4
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ RUN apt-get update && apt-get upgrade -y \
|
|||||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pip install --no-cache-dir -r requirements_other.txt
|
RUN pip install --no-cache-dir -r system/requirements/requirements_standalone.txt
|
||||||
EXPOSE 7851
|
EXPOSE 7851
|
||||||
RUN chmod +x launch.sh
|
RUN chmod +x launch.sh
|
||||||
ENTRYPOINT ["sh", "-c", "./launch.sh"]
|
ENTRYPOINT ["sh", "-c", "./launch.sh"]
|
||||||
+1
-3
@@ -11,9 +11,7 @@ WORKDIR /app
|
|||||||
COPY . .
|
COPY . .
|
||||||
ENV CUDA_DOCKER_ARCH=all
|
ENV CUDA_DOCKER_ARCH=all
|
||||||
|
|
||||||
RUN pip install --no-cache-dir -r requirements_nvidia.txt && \
|
RUN pip install --no-cache-dir -r system/requirements/requirements_standalone.txt && \
|
||||||
pip install --no-cache-dir -r requirements_finetune.txt && \
|
|
||||||
pip install --no-cache-dir -r requirements_other.txt && \
|
|
||||||
pip install --no-cache-dir deepspeed
|
pip install --no-cache-dir deepspeed
|
||||||
EXPOSE 7851
|
EXPOSE 7851
|
||||||
RUN chmod +x launch.sh
|
RUN chmod +x launch.sh
|
||||||
|
|||||||
Reference in new issue
Block a user