diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..d484eda57 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM openjdk:8-jdk-alpine + +# Set working directory +WORKDIR /yacy + +# Copy the project files +COPY . . + +# Expose YaCy port +EXPOSE 8090 + +# Start YaCy +CMD ["sh", "startYACY.sh"] diff --git a/vercel.json b/vercel.json new file mode 100644 index 000000000..d96bdbfc1 --- /dev/null +++ b/vercel.json @@ -0,0 +1 @@ +{ "version": 2, "builds": [ { "src": "startYACY.sh", "use": "@vercel/static-build", "config": { "distDir": "public" } } ], "routes": [ { "src": "/(.*)", "dest": "/startYACY.sh" } ] }