Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files16 unmodified lines1718192021202122232424252627282930313230333435363738363916 unmodified lines# Create a working directoryWORKDIR /app
# Create cache directoryRUN mkdir -p /cache && chmod +x /cache# Create cache directory with proper permissionsRUN mkdir -p /app/cache && chmod -R 777 /app/cache
# Set the cache environment variableENV TRANSFORMERS_CACHE=/cacheENV HF_HOME=/app/cache
# Install Python dependenciesRUN pip install --upgrade pip
# Copy the current directory contents into the container at /appCOPY . /app
# Install requirementsRUN pip install --upgrade pip && pip install -r /app/requirements.txtRUN pip install -r requirements.txt
# Unzip the data.zip file into the /app/data directoryRUN unzip data.zip -d /app/data
# Set the default command to run when starting the containerCMD ["python", "2.py"]CMD ["python", "m5.py"]Dockerfile+8-5