feat: expand EasyCode software factory workflows
This commit is contained in:
16
RuoYi-Vue/deploy/preview-worker/Dockerfile
Normal file
16
RuoYi-Vue/deploy/preview-worker/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM maven:3.9.9-eclipse-temurin-17
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends nodejs npm unzip curl chromium \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY entrypoint.sh /usr/local/bin/easycode-preview-worker
|
||||
RUN chmod 0555 /usr/local/bin/easycode-preview-worker
|
||||
|
||||
ENV HOME=/tmp \
|
||||
MAVEN_OPTS="-Dmaven.repo.local=/tmp/.m2/repository" \
|
||||
npm_config_cache=/tmp/.npm
|
||||
|
||||
EXPOSE 8080 8081
|
||||
ENTRYPOINT ["/usr/local/bin/easycode-preview-worker"]
|
||||
|
||||
Reference in New Issue
Block a user