From 0fb77994aadacd11e48b6e5a9375c3583a287016 Mon Sep 17 00:00:00 2001 From: Agent001 Date: Fri, 20 Sep 2024 11:51:47 +0000 Subject: [PATCH] Add Dockerfile for YaCy deployment --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile 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"]