Update Dockerfile
Browse files- Dockerfile +6 -9
Dockerfile
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
FROM nvidia/cuda:11.3.1-base-ubuntu20.04
|
2 |
|
3 |
ENV DEBIAN_FRONTEND=noninteractive \
|
4 |
-
TZ=
|
|
|
|
|
5 |
|
6 |
# Remove any third-party apt sources to avoid issues with expiring keys.
|
7 |
# Install some basic utilities
|
@@ -64,14 +66,9 @@ RUN add-apt-repository ppa:flexiondotorg/nvtop && \
|
|
64 |
apt-get upgrade -y && \
|
65 |
apt-get install -y --no-install-recommends nvtop
|
66 |
|
67 |
-
|
68 |
-
ENV LANG=C.UTF-8
|
69 |
-
|
70 |
-
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
|
71 |
apt-get install -y nodejs && \
|
72 |
-
npm install -g configurable-http-proxy
|
73 |
-
npm install -g tslab && \
|
74 |
-
tslab install
|
75 |
|
76 |
# Create a working directory
|
77 |
WORKDIR /app
|
@@ -141,4 +138,4 @@ ENV PYTHONUNBUFFERED=1 \
|
|
141 |
|
142 |
EXPOSE 7860 3000
|
143 |
|
144 |
-
CMD ["./start_server.sh"]
|
|
|
1 |
FROM nvidia/cuda:11.3.1-base-ubuntu20.04
|
2 |
|
3 |
ENV DEBIAN_FRONTEND=noninteractive \
|
4 |
+
TZ=Aisa/Shanghai \
|
5 |
+
LC_CTYPE=C.UTF-8 \
|
6 |
+
LANG=C.UTF-8
|
7 |
|
8 |
# Remove any third-party apt sources to avoid issues with expiring keys.
|
9 |
# Install some basic utilities
|
|
|
66 |
apt-get upgrade -y && \
|
67 |
apt-get install -y --no-install-recommends nvtop
|
68 |
|
69 |
+
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
|
|
|
|
|
|
|
70 |
apt-get install -y nodejs && \
|
71 |
+
npm install -g configurable-http-proxy
|
|
|
|
|
72 |
|
73 |
# Create a working directory
|
74 |
WORKDIR /app
|
|
|
138 |
|
139 |
EXPOSE 7860 3000
|
140 |
|
141 |
+
CMD ["./start_server.sh"]
|