justest commited on
Commit
631f8da
·
1 Parent(s): 4245a8b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -1
Dockerfile CHANGED
@@ -64,9 +64,17 @@ RUN add-apt-repository ppa:flexiondotorg/nvtop && \
64
  apt-get upgrade -y && \
65
  apt-get install -y --no-install-recommends nvtop
66
 
 
 
 
 
 
67
  RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
68
  apt-get install -y nodejs && \
69
- npm install -g configurable-http-proxy
 
 
 
70
 
71
  # Create a working directory
72
  WORKDIR /app
 
64
  apt-get upgrade -y && \
65
  apt-get install -y --no-install-recommends nvtop
66
 
67
+ ENV LC_CTYPE=C.UTF-8
68
+ ENV LANG=C.UTF-8
69
+ ENV PATH $PATH:${HOME}/.npm-global/bin
70
+ RUN mkdir ~/.npm-global
71
+
72
  RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
73
  apt-get install -y nodejs && \
74
+ npm config set prefix '~/.npm-global' && \
75
+ npm install -g configurable-http-proxy && \
76
+ npm install -g tslab && \
77
+ tslab install
78
 
79
  # Create a working directory
80
  WORKDIR /app