mirror of
https://github.com/YuWanTingbb/unofficial-gpt4.git
synced 2025-10-14 14:11:23 +00:00
Update Dockerfile
This commit is contained in:
@@ -15,13 +15,12 @@ RUN chmod +x mvnw && \
|
||||
# Use Scratch as base image
|
||||
FROM scratch
|
||||
|
||||
# Copy the native executable into the containers
|
||||
COPY --from=builder /build/target/gpt-4-copilot /gpt-4-copilot
|
||||
|
||||
# Copy the tzdata from builder image
|
||||
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
|
||||
|
||||
# Copy the native executable into the containers
|
||||
|
||||
COPY --from=builder /build/target/gpt-4-copilot /gpt-4-copilot
|
||||
|
||||
# Set the entrypoint
|
||||
ENTRYPOINT ["/gpt-4-copilot"]
|
||||
|
||||
|
Reference in New Issue
Block a user