forked from Botanical/BotanJS
Removed old impl
This commit is contained in:
@@ -20,17 +20,18 @@ FROM eclipse-temurin:21-jre
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ARG JS_SRC_DIR
|
||||
ARG JAVA_SRC_DIR
|
||||
ARG CLOSURE_NAME
|
||||
|
||||
RUN useradd -r -u 10001 closure
|
||||
|
||||
COPY --from=build /src/target/${CLOSURE_NAME}-0.1.0.jar /app/runtime.jar
|
||||
COPY $JAVA_SRC_DIR/example ./example
|
||||
COPY $JS_SRC_DIR ./src
|
||||
|
||||
USER closure
|
||||
|
||||
ENV CLOSURED_ROOT=/work
|
||||
ENV CLOSURED_ROOT=/app/src
|
||||
ENV CLOSURED_PORT=8080
|
||||
ENV CLOSURED_WORKERS=2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user