Commit 773e31a0 authored by Krista Liin's avatar Krista Liin
Browse files

Dockerfile loodetavasti curl parem

parent 4b0dd20d
......@@ -13,7 +13,7 @@ RUN apt-get update && \
apt-get -y install g++ swig && \
apt-get -y install git && \
mkdir /usr/java && cd /usr/java && \
curl -sL https://javadl.oracle.com/webapps/download/AutoDL?BundleId=238719_478a62b7d4e34b78b671c754eaaf38ab && \
curl -sL https://javadl.oracle.com/webapps/download/AutoDL?BundleId=238719_478a62b7d4e34b78b671c754eaaf38ab | sudo bash - && \
mv * java.tar.gz && tar zxvf java.tar.gz && \
export PATH="/usr/java/jre1.8.0_211/bin:$PATH" && \
echo "Installed NODE.JS and PYTHON 3 and JAVA"
......@@ -24,7 +24,7 @@ RUN npm install -g forever
RUN git clone 'https://gitlab.keeleressursid.ee/keeleliin/keeleliin-wrapper.git' --single-branch wrapper && \
mkdir -p /config && mkdir -p /wrapper/files && mkdir -p /wrapper/tmp && mkdir -p /wrapper/logs && \
cd wrapper && npm install && \
cd /wrapper && npm install && \
chmod +x *.sh && \
echo "NPM is installed"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment