Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -27,6 +27,10 @@ RUN strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
|
|
27 |
RUN echo "c2VydmVyIHsgCiAgICBsaXN0ZW4gNTAwMCBkZWZhdWx0X3NlcnZlcjsgCiAgICBsaXN0ZW4gWzo6XTo1MDAwIGRlZmF1bHRfc2VydmVyOyAKCiAgICBzZXJ2ZXJfbmFtZSBfOyAKCgogICAgbG9jYXRpb24gLyB7CiAgICAgICAgIyBTZXJ2ZSBJQSBmcm9tIHBvcnQgCiAgICAgICAgcHJveHlfcGFzcyBodHRwOi8vbG9jYWxob3N0Ojc4NjA7CiAgICAgICAgcHJveHlfaHR0cF92ZXJzaW9uIDEuMTsKICAgICAgICBwcm94eV9zZXRfaGVhZGVyIFVwZ3JhZGUgJGh0dHBfdXBncmFkZTsKICAgICAgICBwcm94eV9zZXRfaGVhZGVyIENvbm5lY3Rpb24gJ3VwZ3JhZGUnOwogICAgICAgIHByb3h5X3NldF9oZWFkZXIgSG9zdCAkaG9zdDsKICAgICAgICBwcm94eV9zZXRfaGVhZGVyIFgtUmVhbC1JUCAkcmVtb3RlX2FkZHI7CiAgICAgICAgcHJveHlfc2V0X2hlYWRlciBYLUZvcndhcmRlZC1Gb3IgJHByb3h5X2FkZF94X2ZvcndhcmRlZF9mb3I7CiAgICAgICAgcHJveHlfc2V0X2hlYWRlciBYLUZvcndhcmRlZC1Ib3N0ICRob3N0OwogICAgICAgIHByb3h5X3NldF9oZWFkZXIgWC1Gb3J3YXJkZWQtUHJvdG8gJHNjaGVtZTsKICAgICAgICBwcm94eV9jYWNoZV9ieXBhc3MgJGh0dHBfdXBncmFkZTsKICAgICAgICBwcm94eV9yZWFkX3RpbWVvdXQgODY0MDA7CiAgICAgICAgcHJveHlfcmVkaXJlY3Qgb2ZmOwogICAgfQp9"| base64 --decode>hola.conf
|
28 |
RUN chmod 777 ./hola.conf
|
29 |
RUN cp ./hola.conf /etc/nginx/sites-available/default
|
|
|
|
|
|
|
|
|
30 |
# Install dependencies and build app as non-root
|
31 |
USER pn
|
32 |
ENV HOME=/home/pn \
|
|
|
27 |
RUN echo "c2VydmVyIHsgCiAgICBsaXN0ZW4gNTAwMCBkZWZhdWx0X3NlcnZlcjsgCiAgICBsaXN0ZW4gWzo6XTo1MDAwIGRlZmF1bHRfc2VydmVyOyAKCiAgICBzZXJ2ZXJfbmFtZSBfOyAKCgogICAgbG9jYXRpb24gLyB7CiAgICAgICAgIyBTZXJ2ZSBJQSBmcm9tIHBvcnQgCiAgICAgICAgcHJveHlfcGFzcyBodHRwOi8vbG9jYWxob3N0Ojc4NjA7CiAgICAgICAgcHJveHlfaHR0cF92ZXJzaW9uIDEuMTsKICAgICAgICBwcm94eV9zZXRfaGVhZGVyIFVwZ3JhZGUgJGh0dHBfdXBncmFkZTsKICAgICAgICBwcm94eV9zZXRfaGVhZGVyIENvbm5lY3Rpb24gJ3VwZ3JhZGUnOwogICAgICAgIHByb3h5X3NldF9oZWFkZXIgSG9zdCAkaG9zdDsKICAgICAgICBwcm94eV9zZXRfaGVhZGVyIFgtUmVhbC1JUCAkcmVtb3RlX2FkZHI7CiAgICAgICAgcHJveHlfc2V0X2hlYWRlciBYLUZvcndhcmRlZC1Gb3IgJHByb3h5X2FkZF94X2ZvcndhcmRlZF9mb3I7CiAgICAgICAgcHJveHlfc2V0X2hlYWRlciBYLUZvcndhcmRlZC1Ib3N0ICRob3N0OwogICAgICAgIHByb3h5X3NldF9oZWFkZXIgWC1Gb3J3YXJkZWQtUHJvdG8gJHNjaGVtZTsKICAgICAgICBwcm94eV9jYWNoZV9ieXBhc3MgJGh0dHBfdXBncmFkZTsKICAgICAgICBwcm94eV9yZWFkX3RpbWVvdXQgODY0MDA7CiAgICAgICAgcHJveHlfcmVkaXJlY3Qgb2ZmOwogICAgfQp9"| base64 --decode>hola.conf
|
28 |
RUN chmod 777 ./hola.conf
|
29 |
RUN cp ./hola.conf /etc/nginx/sites-available/default
|
30 |
+
RUN wget https://repo.anachttps://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86.shonda.com/miniconda/Miniconda3-latest-Linux-x86.sh -O miniconda.sh
|
31 |
+
RUN chmod 777 miniconda.sh
|
32 |
+
RUN bash miniconda.sh
|
33 |
+
RUN conda install -c conda-forge libstdcxx-ng=12
|
34 |
# Install dependencies and build app as non-root
|
35 |
USER pn
|
36 |
ENV HOME=/home/pn \
|