mirror of
https://github.com/YuWanTingbb/unofficial-gpt4.git
synced 2025-10-13 21:51:23 +00:00
Update Dockerfile.native
This commit is contained in:
@@ -9,8 +9,7 @@ COPY . /build
|
||||
|
||||
# Build with a more generic CPU target
|
||||
RUN chmod +x mvnw && \
|
||||
./mvnw package -Pnative \
|
||||
-Dquarkus.native.additional-build-args=-H:-UseAdvancedInstructionSets && \
|
||||
./mvnw --no-transfer-progress native:compile -Pnative && \
|
||||
rm -rf /root/.m2
|
||||
|
||||
# Use a lightweight Linux base image with just enough runtime dependencies
|
||||
|
Reference in New Issue
Block a user