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