Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files17 unmodified lines1819202122232425262728293031323334353617 unmodified linesWORKDIR /app# Create cache directoryRUN mkdir -p /app/cache# Set the cache environment variableENV TRANSFORMERS_CACHE=/app/cache# Install Python dependenciesRUN pip install --upgrade pip# Copy the current directory contents into the container at /appCOPY . /app# Install requirementsRUN pip install -r requirements.txt# Unzip the data.zip file into the /app/data directoryRUN unzip data.zip -d /app/data17 unmodified lines1819202122232425262728293031323317 unmodified linesWORKDIR /app# Create cache directoryRUN mkdir -p /app/cache && chmod +x /app/cache# Set the cache environment variableENV TRANSFORMERS_CACHE=/app/cache# Copy the current directory contents into the container at /appCOPY . /app# Install requirementsRUN pip install --upgrade pip && pip install -r /app/requirements.txt# Unzip the data.zip file into the /app/data directoryRUN unzip data.zip -d /app/data
Dockerfile+2-5