wufan commited on
Commit
0a42a82
1 Parent(s): 2daa610

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -18
Dockerfile CHANGED
@@ -2,24 +2,24 @@ FROM python:3.8
2
 
3
  WORKDIR /code
4
 
5
- # RUN wget https://registry.npmmirror.com/-/binary/node/latest-v16.x/node-v16.13.1-linux-x64.tar.gz \
6
- # && tar -xvf node-v16.13.1-linux-x64.tar.gz \
7
- # && mv node-v16.13.1-linux-x64 /usr/local/nodejs \
8
- # && ln -s /usr/local/nodejs/bin/node /usr/local/bin \
9
- # && ln -s /usr/local/nodejs/bin/npm /usr/local/bin \
10
- # && node -v
11
-
12
- # RUN apt-get update \
13
- # && apt-get install -y texlive-full \
14
- # && pdflatex -v
15
-
16
- # RUN git clone https://github.com/ImageMagick/ImageMagick.git ImageMagick-7.1.1 \
17
- # && cd ImageMagick-7.1.1 \
18
- # && ./configure \
19
- # && make \
20
- # && make install \
21
- # && ldconfig /usr/local/lib \
22
- # && convert --version
23
 
24
  COPY ./requriements.txt /code/requriements.txt
25
 
 
2
 
3
  WORKDIR /code
4
 
5
+ RUN wget https://registry.npmmirror.com/-/binary/node/latest-v16.x/node-v16.13.1-linux-x64.tar.gz \
6
+ && tar -xvf node-v16.13.1-linux-x64.tar.gz \
7
+ && mv node-v16.13.1-linux-x64 /usr/local/nodejs \
8
+ && ln -s /usr/local/nodejs/bin/node /usr/local/bin \
9
+ && ln -s /usr/local/nodejs/bin/npm /usr/local/bin \
10
+ && node -v
11
+
12
+ RUN apt-get update \
13
+ && apt-get install -y texlive-full \
14
+ && pdflatex -v
15
+
16
+ RUN git clone https://github.com/ImageMagick/ImageMagick.git ImageMagick-7.1.1 \
17
+ && cd ImageMagick-7.1.1 \
18
+ && ./configure \
19
+ && make \
20
+ && make install \
21
+ && ldconfig /usr/local/lib \
22
+ && convert --version
23
 
24
  COPY ./requriements.txt /code/requriements.txt
25