Update Dockerfile

This commit is contained in:
LordHansolo 2024-03-22 17:43:28 +01:00
parent 17aff21aee
commit afe1d2a67f

View File

@ -24,7 +24,7 @@ ARG IMAGE_TYPE=full
# Conditional logic based on the IMAGE_TYPE argument # Conditional logic based on the IMAGE_TYPE argument
# Always copy the Docker directory, but only use it if IMAGE_TYPE is not "elite" # Always copy the Docker directory, but only use it if IMAGE_TYPE is not "elite"
COPY ./Docker /workspace/Docker COPY ./Docker /workspace/Docker
# elite 类型的镜像里面不包含额外的模型 # elite 类型的镜像里面不包含额外的模型
RUN if [ "$IMAGE_TYPE" != "elite" ]; then \ RUN if [ "$IMAGE_TYPE" != "elite" ]; then \
chmod +x /workspace/Docker/download.sh && \ chmod +x /workspace/Docker/download.sh && \
@ -34,9 +34,6 @@ RUN if [ "$IMAGE_TYPE" != "elite" ]; then \
fi fi
# Copy the rest of the application
COPY . /workspace
# Copy the rest of the application # Copy the rest of the application
COPY . /workspace COPY . /workspace