Add files via upload
This commit is contained in:
1 parent
084cc2d2a2
commit
35d05c7689
1 file changed
+6
-1
+6
-1
@@ -4,9 +4,14 @@ RUN apt-get update && apt-get upgrade -y \
|
|||||||
&& apt-get install -y git build-essential portaudio19-dev \
|
&& apt-get install -y git build-essential portaudio19-dev \
|
||||||
python3 python3-pip gcc wget \
|
python3 python3-pip gcc wget \
|
||||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||||
|
|
||||||
|
RUN mkdir -p /app && mkdir -p /app/pip_cache
|
||||||
|
ENV PIP_CACHE_DIR=/app/pip_cache
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pip install --no-cache-dir -r system/requirements/requirements_standalone.txt
|
RUN pip install --no-cache-dir --no-deps -r system/requirements/requirements_standalone.txt --cache-dir=/app/pip_cache
|
||||||
|
|
||||||
EXPOSE 7851
|
EXPOSE 7851
|
||||||
RUN chmod +x launch.sh
|
RUN chmod +x launch.sh
|
||||||
ENTRYPOINT ["sh", "-c", "./launch.sh"]
|
ENTRYPOINT ["sh", "-c", "./launch.sh"]
|
||||||
Reference in new issue
Block a user