mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
This reverts commit 1222ba62bc6242874d76e26c69b366fbde62f519. GitOrigin-RevId: dc45e995b30ffc958a4ce62206d8f4dd7d41ca50
This commit is contained in:
@@ -16,17 +16,6 @@ RUN chmod +x /opt/envsubst
|
||||
|
||||
RUN useradd --create-home node
|
||||
|
||||
ENV MAVEN_OPTS="-Dmaven.repo.local=/app/.m2/repository"
|
||||
|
||||
# pre-resolve Maven dependencies and plugins into the base image to limit
|
||||
# downstream `mvn` invocations hitting Maven Central on every CI build.
|
||||
COPY pom.xml /tmp/pom.xml
|
||||
RUN mvn -B --no-transfer-progress -f /tmp/pom.xml \
|
||||
dependency:go-offline \
|
||||
dependency:resolve-plugins \
|
||||
&& chown -R node:node /app/.m2 \
|
||||
&& rm /tmp/pom.xml
|
||||
|
||||
FROM base AS builder
|
||||
|
||||
COPY . /app
|
||||
|
||||
Reference in New Issue
Block a user