You may shrink it
DECLARE @sql NVARCHAR(MAX) = ''
SELECT @sql = @sql + N'DBCC SHRINKFILE('+CAST(file_id AS NVARCHAR)+N', 0);'
FROM sys.database_files
WHERE type = 1
EXEC(@sql)
BUT it only works with Simple recovery model, instead you have to back the log up and shrink it afterwards
You cannot drop the log files at all even if your database is in read-only mode.
AND try to redesign and review your approach when dealing with sql server's DB. It is not the right option or best practice to shrink files - especially on regular basis!