Skip to content
Snippets Groups Projects
Commit d18fb8a3 authored by Michael Jonasson's avatar Michael Jonasson
Browse files

portswitch

parent d170d060
No related branches found
No related tags found
No related merge requests found
Pipeline #14217 passed
FROM alpine:3.10
COPY . sapis
WORKDIR "/sapis"
RUN apk --no-cache update && apk --no-cache add python3 cython3 py-numpy openjdk11 && pip3 install --no-cache-dir --disable-pip-version-check -r REQUIREMENTS.txt
EXPOSE 4567
RUN ls -l /usr/lib/jvm/
RUN ls -l /usr/lib/jvm/default-jvm/
RUN java -version
CMD ["./start.sh"]
FROM nginx:alpine
COPY index.html /usr/share/nginx/html
EXPOSE 4567
EXPOSE 7654
No preview for this file type
#!/bin/sh
java -cp java/maltparser-1.9.0/maltparser-1.9.0.jar:java/py4j0.10.8.1.jar java/MaltGateway.java java/swemalt-1.7.2 &&
gunicorn api:api -b 80:4567 --log-level=debug
gunicorn api:api -b :4567 --log-level=debug
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment